mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
https://github.com/heftig/rtkit D-Bus system service that enables real time scheduling on request
19 lines
381 B
Text
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 $?
|
|
}
|