mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +00:00
mumble-server's CLI arguments have changed, but upstream has not updated the systemd unit yet. Signed-off-by: Kenton Groombridge <concord@gentoo.org>
24 lines
512 B
Text
24 lines
512 B
Text
#!/sbin/openrc-run
|
|
|
|
pidfile="/run/murmur/murmur.pid"
|
|
command="/usr/bin/mumble-server"
|
|
command_args="--ini \"${MURMUR_CONF}\""
|
|
start_stop_daemon_args="-u \"${MURMUR_USER}\" --env HOME=\"${MURMUR_HOME}\" --wait 20"
|
|
extra_started_commands="reload"
|
|
|
|
depend() {
|
|
need localmount net
|
|
use dbus logger
|
|
after bootmisc mysql
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -q -d -o ${MURMUR_USER} ${pidfile%/*}
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading Murmur"
|
|
start-stop-daemon --signal HUP --pidfile "${pidfile}" \
|
|
--exec ${command}
|
|
eend $?
|
|
}
|