Supervise murmur to provide restart facilities

This commit is contained in:
Alex D. 2024-07-07 05:32:25 +00:00
parent 48f7f74318
commit feb2072657
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 5 additions and 4 deletions

View File

@ -3,10 +3,10 @@
. ../APKBUILD-openrc.template
pkgver=2021.06.01.03
pkgrel=5
pkgver=2024.07.07.02
pkgrel=0
sha512sums="
0bca5004e9422e1e4cb87741d81ee32e7e7b939ea8e948d6496cf200a94b471f78219302d55f0419bd3361d9b62af5db3b36bdd9c173eafe20c44c21bfa42463 runfile
48f83640c54b59124483e5ac8d185f6f6361fb3d9e291e724b2d6a1d9c88e2b203aabbac2ea48b6f9cabe293b4cc9eacb33b7c8803b3ebabb98fb3f790d1781c runfile
67e434dac815540034890933fde5d9593c6ea52994e1d46b465329923a87204bcc2f22cefbe7f62fdf7a4d3615181bc383ee677d40c8695422fd3fdb357689f8 conffile
"

View File

@ -7,8 +7,9 @@ depends() {
description="Mumble VoIP Server"
command="/usr/bin/murmurd"
command_args="-ini ${INI_CONFIG:-/etc/murmur.ini}"
command_args="-ini ${INI_CONFIG:-/etc/murmur.ini} -fg"
pidfile="/run/murmur/murmur.pid"
supervisor=supervise-daemon
start_pre() {
checkpath --owner murmur:murmur --directory ${pidfile%/*}