aports/testing/mtail/mtail.initd
2025-10-14 10:02:29 +00:00

20 lines
285 B
Bash

#!/sbin/openrc-run
name="mtail"
: "${command_user:="mtail"}"
command="/usr/bin/mtail"
command_args="$ARGS"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
depend() {
need net
after firewall
}
reload() {
${supervisor} ${RC_SVCNAME} --signal HUP --pidfile "${pidfile}"
}