diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-11-15 18:06:43 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-11-15 18:06:43 +0000 |
commit | ab97872da78611b5252189a24a16c3a420436292 (patch) | |
tree | d68059033fcdb88d01c38f8e0e1bf3a702cc2e3b /devel | |
parent | 9572207dcfac9c9e6771fb6bae355e3ffed80e67 (diff) | |
download | pkgsrc-ab97872da78611b5252189a24a16c3a420436292.tar.gz |
Use /tmp as directory for $pidfile, because the nobody user cannot write
in /var/run!
Diffstat (limited to 'devel')
-rwxr-xr-x | devel/distcc/files/distccd.sh | 6 |
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 |