summaryrefslogtreecommitdiff
path: root/media-sound/mpd-ynca/files/mpd-ynca.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-24 13:27:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-24 13:27:08 +0100
commitbfc2a8298cab03d289dc2cfed63308396fa0babe (patch)
tree2d4288572b0938dcfc64edd39a4c1086402931a5 /media-sound/mpd-ynca/files/mpd-ynca.initd
parente28a6e6eb5373071be3a09aa457f0488d753c80c (diff)
gentoo auto-resync : 24:06:2023 - 13:27:08
Diffstat (limited to 'media-sound/mpd-ynca/files/mpd-ynca.initd')
-rw-r--r--media-sound/mpd-ynca/files/mpd-ynca.initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/mpd-ynca/files/mpd-ynca.initd b/media-sound/mpd-ynca/files/mpd-ynca.initd
new file mode 100644
index 000000000000..d18e3eeaec51
--- /dev/null
+++ b/media-sound/mpd-ynca/files/mpd-ynca.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+export \
+ MPD_HOST \
+ MPD_PORT \
+ MPD_TIMEOUT
+
+pidfile="/run/${RC_SVCNAME}.pid"
+command="/usr/bin/mpd-ynca"
+command_user="mpd"
+command_background="yes"
+
+depend() {
+ after mpd
+}