From: HAT Date: Tue, 20 Dec 2011 10:44:59 +0000 (+0900) Subject: NetBSD: Fix afpd startup script, from patch-bk,v 1.1 X-Git-Url: https://arthur.barton.de/gitweb/?p=netatalk.git;a=commitdiff_plain;h=d2dfd7f30a8ee93137b206159859c026f446ef2f 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. --- 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