summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/rasdaemon/files/ras-mc-ctl.openrc')
-rw-r--r--app-admin/rasdaemon/files/ras-mc-ctl.openrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/rasdaemon/files/ras-mc-ctl.openrc b/app-admin/rasdaemon/files/ras-mc-ctl.openrc
new file mode 100644
index 000000000000..d9790c482e21
--- /dev/null
+++ b/app-admin/rasdaemon/files/ras-mc-ctl.openrc
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Starts ${SVCNAME} service for rasdaemon"
+
+command="/usr/bin/${SVCNAME}"
+command_args="--register-labels"
+pidfile=/run/${SVCNAME}.pid
+command_background=true