mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
21 lines
400 B
Plaintext
21 lines
400 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 /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 $?
|
|
}
|