summaryrefslogtreecommitdiff
path: root/devel/distcc/files
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-11-17 11:45:49 +0000
committerxtraeme <xtraeme>2004-11-17 11:45:49 +0000
commitff90bcd3726dfe567d9f07cfff5a26cfef8d9f95 (patch)
tree1c360a3ad28d1f040f75e028863880b64a9bc594 /devel/distcc/files
parent193ae4b8f8bbfe918ada549a55076eda448de1ee (diff)
downloadpkgsrc-ff90bcd3726dfe567d9f07cfff5a26cfef8d9f95.tar.gz
As reed@ said in another email:
"No files should be owned by "nobody" because that defeats the purpose of having a "nobody" account." Make this use a specific user/group called distcc to run the daemon. Bump PKGREVISION.
Diffstat (limited to 'devel/distcc/files')
-rwxr-xr-xdevel/distcc/files/distccd.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/distcc/files/distccd.sh b/devel/distcc/files/distccd.sh
index f3828855453..d3193a36b30 100755
--- a/devel/distcc/files/distccd.sh
+++ b/devel/distcc/files/distccd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: distccd.sh,v 1.5 2004/11/16 09:24:50 xtraeme Exp $
+# $NetBSD: distccd.sh,v 1.6 2004/11/17 11:45:49 xtraeme Exp $
#
# PROVIDE: distccd
@@ -14,7 +14,9 @@ name="distccd"
rcvar="${name}"
command="@PREFIX@/bin/${name}"
pidfile="@DISTCC_PIDDIR@/${name}.pid"
-command_args="--daemon --pid-file ${pidfile} --user nobody"
+command_args="--daemon --pid-file ${pidfile}"
+distccd_user="@DISTCC_USER@"
+distccd_group="@DISTCC_GROUP@"
if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -f /etc/rc.d/DAEMON ]; then
load_rc_config $name