summaryrefslogtreecommitdiff
path: root/icecream.initd
diff options
context:
space:
mode:
Diffstat (limited to 'icecream.initd')
-rw-r--r--icecream.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/icecream.initd b/icecream.initd
new file mode 100644
index 0000000..1ff49e9
--- /dev/null
+++ b/icecream.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/iceccd"
+command_args="${ICECREAM_OPTS}"
+pidfile="/run/${RC_SVCNAME}.pid"
+start_stop_daemon_args="--background --make-pidfile"
+
+depend() {
+ use logger net
+}