summaryrefslogtreecommitdiff
path: root/dev-python/mpdlcd/files/mpdlcd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mpdlcd/files/mpdlcd.initd')
-rw-r--r--dev-python/mpdlcd/files/mpdlcd.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/mpdlcd/files/mpdlcd.initd b/dev-python/mpdlcd/files/mpdlcd.initd
new file mode 100644
index 000000000000..c1e5bc7e1a3d
--- /dev/null
+++ b/dev-python/mpdlcd/files/mpdlcd.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="MPDlcd"
+description="A small adapter which will display the status of a MPD server on a LCDproc screen"
+pidfile="/run/mpdlcd.pid"
+
+command="/usr/bin/mpdlcd"
+command_args="${MPDLCD_OPTS}"
+command_background="true"
+
+depend() {
+ need net
+}