summaryrefslogtreecommitdiff
path: root/icecream-scheduler.initd
diff options
context:
space:
mode:
Diffstat (limited to 'icecream-scheduler.initd')
-rw-r--r--icecream-scheduler.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/icecream-scheduler.initd b/icecream-scheduler.initd
new file mode 100644
index 0000000..e71776a
--- /dev/null
+++ b/icecream-scheduler.initd
@@ -0,0 +1,12 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/lib/icecream/sbin/icecc-scheduler"
+command_args="${ICECREAM_SCHEDULER_OPTS}"
+pidfile="/run/${RC_SVCNAME}.pid"
+start_stop_daemon_args="--background --make-pidfile"
+
+depend() {
+ use logger net
+}