summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-11-15 18:06:43 +0000
committerxtraeme <xtraeme>2004-11-15 18:06:43 +0000
commit0d549eac784e540882c579929f276984245387a1 (patch)
treed68059033fcdb88d01c38f8e0e1bf3a702cc2e3b /devel
parent36278ded16a4aa78f6f30cca7420265b6ba724ed (diff)
downloadpkgsrc-0d549eac784e540882c579929f276984245387a1.tar.gz
Use /tmp as directory for $pidfile, because the nobody user cannot write
in /var/run!
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/distcc/files/distccd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/distcc/files/distccd.sh b/devel/distcc/files/distccd.sh
index e82538e4815..3e7c28e614e 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.3 2004/07/07 12:38:39 martti Exp $
+# $NetBSD: distccd.sh,v 1.4 2004/11/15 18:06:43 xtraeme Exp $
#
# PROVIDE: distccd
@@ -13,8 +13,8 @@ fi
name="distccd"
rcvar="${name}"
command="@PREFIX@/bin/${name}"
-command_args="--daemon --pid-file /var/run/${name}.pid --user nobody"
-pidfile="/var/run/${name}.pid"
+pidfile="/tmp/${name}.pid"
+command_args="--daemon --pid-file ${pidfile} --user nobody"
if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -f /etc/rc.d/DAEMON ]; then
load_rc_config $name