1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/rtkit/rtkit.initd
Marian Buschsieweke ce7d8d914f testing/rtkit: new aport
https://github.com/heftig/rtkit
D-Bus system service that enables real time scheduling on request
2021-04-21 18:07:28 +00:00

19 lines
381 B
Text

#!/sbin/openrc-run
depend() {
need dbus
}
start() {
ebegin "Starting rtkit"
start-stop-daemon --start --quiet --exec /usr/libexec/rtkit-daemon \
--background --pidfile /var/run/rtkit.pid --make-pidfile \
-- ${RTKIT_OPTS}
eend $?
}
stop() {
ebegin "Stopping rtkit"
start-stop-daemon --stop --quiet --pidfile /var/run/rtkit.pid --exec /usr/libexec/rtkit-daemon
eend $?
}