summaryrefslogtreecommitdiff
path: root/devel/distcc
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-11-15 18:06:43 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-11-15 18:06:43 +0000
commit08e1a9970a4d53b74d6d6c2258f93990a7ff0922 (patch)
treed68059033fcdb88d01c38f8e0e1bf3a702cc2e3b /devel/distcc
parent10a67afcf76b93e63389be44847e1668e198fed4 (diff)
downloadpkgsrc-08e1a9970a4d53b74d6d6c2258f93990a7ff0922.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