From ab97872da78611b5252189a24a16c3a420436292 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 15 Nov 2004 18:06:43 +0000 Subject: Use /tmp as directory for $pidfile, because the nobody user cannot write in /var/run! --- devel/distcc/files/distccd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'devel/distcc') 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 -- cgit v1.2.3