summaryrefslogtreecommitdiff
path: root/icecream-scheduler.initd
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-02-07 14:06:35 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-02-07 14:06:35 -0800
commit45c3c601f40ccde43c904940014c836245a04120 (patch)
treef1227dd2e823f3b94e428f182140377f4821ac4b /icecream-scheduler.initd
downloadicecream-45c3c601f40ccde43c904940014c836245a04120.tar.xz
Initial commit
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
+}