1
0

forked-daapd.init 250 B

123456789101112131415
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2014 OpenWrt.org
  3. START=99
  4. BIN=/usr/sbin/forked-daapd
  5. PID=/var/run/forked-daapd.pid
  6. SSD=start-stop-daemon
  7. start() {
  8. $SSD -p $PID -S -x $BIN -- -P $PID
  9. }
  10. stop() {
  11. $SSD -p $PID -K -s SIGINT
  12. }