pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/distcc/files Use /tmp as directory for $pidfile,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81dc1b7ba615
branches:  trunk
changeset: 483602:81dc1b7ba615
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Nov 15 18:06:43 2004 +0000

description:
Use /tmp as directory for $pidfile, because the nobody user cannot write
in /var/run!

diffstat:

 devel/distcc/files/distccd.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 61bf9e96365c -r 81dc1b7ba615 devel/distcc/files/distccd.sh
--- a/devel/distcc/files/distccd.sh     Mon Nov 15 18:01:58 2004 +0000
+++ b/devel/distcc/files/distccd.sh     Mon Nov 15 18:06:43 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index