summaryrefslogtreecommitdiff
path: root/devel/distcc
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-11-15 18:06:43 +0000
committerxtraeme <xtraeme>2004-11-15 18:06:43 +0000
commit32799d1db05261c5fa4ccedc6eb0f276ad983c50 (patch)
treed68059033fcdb88d01c38f8e0e1bf3a702cc2e3b /devel/distcc
parent742c2a029d42bd3d6a25ae52cd1a00754ec6bd67 (diff)
downloadpkgsrc-32799d1db05261c5fa4ccedc6eb0f276ad983c50.tar.gz
Use /tmp as directory for $pidfile, because the nobody user cannot write
in /var/run!
Diffstat (limited to 'devel/distcc')
-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