mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 03:12:08 +01:00
21 lines
474 B
Plaintext
21 lines
474 B
Plaintext
#!/sbin/runscript
|
|
|
|
depend() {
|
|
need net
|
|
use mpd
|
|
}
|
|
|
|
start () {
|
|
|
|
ebegin "Starting Music Player Daemon Audioscrobbler client"
|
|
start-stop-daemon --start --exec /usr/bin/mpdscribble -- --pidfile /var/run/mpdscribble.pid
|
|
eend $?
|
|
}
|
|
|
|
stop () {
|
|
ebegin "Stopping Music Player Daemon Audioscrobbler client"
|
|
start-stop-daemon --stop --quiet -p /var/run/mpdscribble.pid --exec /usr/bin/mpdscribble || eerror "mpdscribble is not running"
|
|
rm -f /var/run/mpdscribble.pid
|
|
eend $?
|
|
}
|