summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/forked-daapd/files/daapd.initd')
-rw-r--r--media-sound/forked-daapd/files/daapd.initd31
1 files changed, 0 insertions, 31 deletions
diff --git a/media-sound/forked-daapd/files/daapd.initd b/media-sound/forked-daapd/files/daapd.initd
deleted file mode 100644
index 7854bd4cc40..00000000000
--- a/media-sound/forked-daapd/files/daapd.initd
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-
-# Override in /etc/conf.d/daapd
-LOG_LEVEL=${LOG_LEVEL:-2}
-LOG_DOMAINS=${LOG_DOMAINS:-'main,mdns,db,scan'}
-FFID=${FFID:-daapd}
-
-PIDFILE=/var/run/forked-daapd.pid
-
-depend() {
- need avahi-dnsconfd
-}
-
-start() {
- ebegin "Starting daapd"
- start-stop-daemon --start forked-daapd \
- --pidfile "$PIDFILE" \
- -- \
- -P "$PIDFILE" \
- -d "$LOG_LEVEL" \
- -b "$FFID" \
- -D "$LOG_DOMAINS"
- eend $?
-}
-
-stop() {
- ebegin "Stopping daapd"
- start-stop-daemon --stop forked-daapd \
- --pidfile "$PIDFILE"
- eend $?
-}