mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
20 lines
285 B
Bash
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}"
|
|
}
|