mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-27 04:12:29 +01:00
the /var/run directory does not exist after a reboot so we need create it before starting the service instead of at package install time.
19 lines
311 B
Plaintext
19 lines
311 B
Plaintext
#!/sbin/runscript
|
|
|
|
depends() {
|
|
needs localmount
|
|
}
|
|
|
|
description="Mumble VoIP Server"
|
|
command="/usr/bin/murmurd"
|
|
command_args="-ini /etc/murmur.ini"
|
|
pidfile="/var/run/murmur/murmur.pid"
|
|
|
|
start_pre() {
|
|
checkpath --owner murmur:murmur --directory ${pidfile%/*}
|
|
}
|
|
|
|
# uses the openrc templates for start()/stop()
|
|
|
|
|