mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-25 07:32:19 +02:00
21 lines
395 B
Plaintext
21 lines
395 B
Plaintext
#!/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 $?
|
|
}
|