Commit 90faedd3 authored by Jakub Jirutka's avatar Jakub Jirutka

testing/netatalk: fix runscript

parent 6a9c0d5e
......@@ -59,4 +59,4 @@ package() {
}
sha512sums="002aacc87778cd88ce544b69fc44052f32d07fce34858b20e760e771700d10552189a39a43943b193e22737de74e9be6934bf4c54d3207b615a1ceb4ecaf9a9e netatalk-3.1.10.tar.gz
2a64e3ae40d930a91d3516eea9ddcb63a542101fe2ee74b3903bd2fbeadd891bfd8c37f8893fe0d53fa6dc32f12b70498478f10804667569a13e1e16d0103a09 netatalk.initd"
c4dc6b1967f4b86ee2f1cfc480edab5467fb1f67fd0cbbed23c8454568d0aaceeedaa23db90f8ca5b47f24d346f72d5e12307557edfeeefcbee003f85c56cced netatalk.initd"
#!/sbin/openrc-run
name=netatalk
command="/usr/sbin/$name"
command_args="-F /etc/afp.conf"
command_background="yes"
extra_started_commands="reload"
description_reload="Reload configuration file"
pidfile="/run/$name.pid"
command="/usr/sbin/netatalk"
depend() {
need net
use logger dns
after firewall
}
stop() {
ebegin "Stopping $name"
start-stop-daemon -K -p /var/lock/netatalk
reload() {
ebegin "Reloading $name"
start-stop-daemon --signal SIGHUP --name $command
eend $?
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment