summaryrefslogtreecommitdiffstats
path: root/testing/ushare/ushare.initd
blob: 090d0b6702b7e81eaeff4e2845f45615536c2446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/runscript

depend() {
  need net
  use syslog
}

start() {
  ebegin "Starting uShare UPnP A/V Media Server"
  start-stop-daemon --start --quiet --background --make-pidfile \
  --pidfile /var/run/ushare.pid --exec /usr/bin/ushare \
  -- $PARAMS
  eend $?
}

stop() {
  ebegin "Stopping uShare UPnP A/V Media Server"
  start-stop-daemon --stop --quiet --pidfile /var/run/ushare.pid
  eend $?
}