diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2022-01-31 22:15:17 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-01-31 22:15:48 +0100 |
commit | 5d8b0afb38cc95f2143fc7650d1c7fdb1946ce0d (patch) | |
tree | d908402d99e7e13d9cf98b0da80383c74c28cf56 /media-sound/murmur | |
parent | media-libs/harfbuzz: Bump to version 3.3.0 (diff) | |
download | gentoo-5d8b0afb38cc95f2143fc7650d1c7fdb1946ce0d.tar.gz gentoo-5d8b0afb38cc95f2143fc7650d1c7fdb1946ce0d.tar.bz2 gentoo-5d8b0afb38cc95f2143fc7650d1c7fdb1946ce0d.zip |
media-sound/murmur: Revbump to fix init script
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/murmur')
-rw-r--r-- | media-sound/murmur/files/murmur.initd-r2 | 24 | ||||
-rw-r--r-- | media-sound/murmur/murmur-1.4.230-r1.ebuild (renamed from media-sound/murmur/murmur-1.4.230.ebuild) | 2 | ||||
-rw-r--r-- | media-sound/murmur/murmur-9999.ebuild | 2 |
3 files changed, 26 insertions, 2 deletions
diff --git a/media-sound/murmur/files/murmur.initd-r2 b/media-sound/murmur/files/murmur.initd-r2 new file mode 100644 index 000000000000..b754c242462b --- /dev/null +++ b/media-sound/murmur/files/murmur.initd-r2 @@ -0,0 +1,24 @@ +#!/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 $? +} diff --git a/media-sound/murmur/murmur-1.4.230.ebuild b/media-sound/murmur/murmur-1.4.230-r1.ebuild index 3fd6f4ad9a21..7192a806faa5 100644 --- a/media-sound/murmur/murmur-1.4.230.ebuild +++ b/media-sound/murmur/murmur-1.4.230-r1.ebuild @@ -142,7 +142,7 @@ src_install() { insinto /usr/share/murmur/ doins src/murmur/Murmur.ice - newinitd "${FILESDIR}"/murmur.initd-r1 murmur + newinitd "${FILESDIR}"/murmur.initd-r2 murmur newconfd "${FILESDIR}"/murmur.confd murmur systemd_dounit scripts/${PN}.service diff --git a/media-sound/murmur/murmur-9999.ebuild b/media-sound/murmur/murmur-9999.ebuild index 3fd6f4ad9a21..7192a806faa5 100644 --- a/media-sound/murmur/murmur-9999.ebuild +++ b/media-sound/murmur/murmur-9999.ebuild @@ -142,7 +142,7 @@ src_install() { insinto /usr/share/murmur/ doins src/murmur/Murmur.ice - newinitd "${FILESDIR}"/murmur.initd-r1 murmur + newinitd "${FILESDIR}"/murmur.initd-r2 murmur newconfd "${FILESDIR}"/murmur.confd murmur systemd_dounit scripts/${PN}.service |