From d2dfd7f30a8ee93137b206159859c026f446ef2f Mon Sep 17 00:00:00 2001 From: HAT Date: Tue, 20 Dec 2011 19:44:59 +0900 Subject: [PATCH] NetBSD: Fix afpd startup script, from patch-bk,v 1.1 Adds command_args to startup script to write the pid file to /var/run as intended. Apparently the lack of a pid file did not affect NetBSD's ability to stop the daemon, but it did prevent it on DragonFly BSD. --- distrib/initscripts/rc.afpd.netbsd.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/distrib/initscripts/rc.afpd.netbsd.tmpl b/distrib/initscripts/rc.afpd.netbsd.tmpl index 6242d88c..672c2ede 100644 --- a/distrib/initscripts/rc.afpd.netbsd.tmpl +++ b/distrib/initscripts/rc.afpd.netbsd.tmpl @@ -17,6 +17,7 @@ rcvar=$name command=":SBINDIR:/afpd" etcdir=":ETCDIR:" pidfile="/var/run/${name}.pid" +command_args="-P ${pidfile}" required_files="$etcdir/afpd.conf $etcdir/AppleVolumes.default $etcdir/AppleVolumes.system" load_rc_config $name -- 2.39.2