1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 17:25:17 +03:00
aports/testing/mdnsd/mdnsd.initd
2020-06-26 04:38:41 +00:00

21 lines
393 B
Text

#!/sbin/openrc-run
description="embeddable multicast DNS daemon"
command="/usr/sbin/mdnsd"
command_args="${MDNSD_OPTS}"
command_background="yes"
command_user="daemon:daemon"
pidfile="/run/${RC_SVCNAME}.pid"
extra_started_commands="reload"
depend() {
need net
after firewall
}
reload() {
ebegin "Reloading ${RC_SVCNAME}"
start-stop-daemon --signal HUP --pidfile "${pidfile}"
eend $?
}