aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ushare/ushare.initd
blob: 8ca03fc4709fc9339810b080ce1a9045e16c86db (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 /bin/ushare \
  -- $PARAMS
  eend $?
}

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