aboutsummaryrefslogtreecommitdiffstats
path: root/community/netatalk/netatalk.initd
blob: 3fdb482de4e8cdeb0f7cee49a0401e780bc1c0f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run

extra_started_commands="reload"
description_reload="Reload configuration file"

command="/usr/sbin/netatalk"

depend() {
	need net
	use logger dns
	after firewall
}

reload() {
	ebegin "Reloading $name"

	start-stop-daemon --signal SIGHUP --name $command
	eend $?
}