From feb2072657337c8fdbdd637c9bd690654d3ab24d Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Sun, 7 Jul 2024 05:32:25 +0000 Subject: [PATCH] Supervise murmur to provide restart facilities --- openrc/murmur/APKBUILD | 6 +++--- openrc/murmur/runfile | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/openrc/murmur/APKBUILD b/openrc/murmur/APKBUILD index 471a51c..5e0723d 100644 --- a/openrc/murmur/APKBUILD +++ b/openrc/murmur/APKBUILD @@ -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 " diff --git a/openrc/murmur/runfile b/openrc/murmur/runfile index 27e0462..f31b1a5 100644 --- a/openrc/murmur/runfile +++ b/openrc/murmur/runfile @@ -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%/*}