summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2020-05-17 17:20:03 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-05-17 19:41:50 +0300
commit61d7eb1970d506a5975ac38bdef5a6e0d2a4ceab (patch)
tree4d134da19bc384055c43c4a2fb4ceede53504f8f /sys-process/rtirq/files
parentdev-ml/zarith: using AR (diff)
downloadgentoo-61d7eb1970d506a5975ac38bdef5a6e0d2a4ceab.tar.gz
gentoo-61d7eb1970d506a5975ac38bdef5a6e0d2a4ceab.tar.bz2
gentoo-61d7eb1970d506a5975ac38bdef5a6e0d2a4ceab.zip
sys-process/rtirq: Version bump to 20191121
Also move rtirq script into /usr/bin. Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-process/rtirq/files')
-rw-r--r--sys-process/rtirq/files/rtirq.initd28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-process/rtirq/files/rtirq.initd b/sys-process/rtirq/files/rtirq.initd
new file mode 100644
index 000000000000..5bd77921c661
--- /dev/null
+++ b/sys-process/rtirq/files/rtirq.initd
@@ -0,0 +1,28 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+command="/usr/bin/rtirq"
+
+extra_commands="status"
+
+depend() {
+ need localmount
+ after alsasound logger
+}
+
+start() {
+ ebegin "Starting rtirq"
+ ${command} start
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping rtirq"
+ ${command} stop
+ eend ${?}
+}
+
+status() {
+ ${command} status
+}