]> arthur.barton.de Git - netatalk.git/blobdiff - distrib/initscripts/rc.afpd.netbsd.tmpl
Merge master
[netatalk.git] / distrib / initscripts / rc.afpd.netbsd.tmpl
index 36da2affb42c2757da894f70029e54c53255fb2e..672c2ede2f5f1bc9ba44acf7378da2e7e9c5b6d6 100644 (file)
@@ -4,7 +4,7 @@
 # REQUIRE: cnid_metad
 # KEYWORD: shutdown
 #
-# Apple Filing Protocol daemon.
+# Apple Filing Protocol daemon. (netatalk :NETATALK_VERSION:)
 # If you use AppleTalk, Make sure not to start atalkd in the background:
 # its data structures must have time to stablize before running the
 # other processes.
@@ -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