0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 09:19:51 +00:00
packages/sound/owntone/files/owntone.init
Espen Jürgensen df4bd5eef5 owntone: update to 28.2
Since version 28.0 forked-daapd is called owntone. This updates to 28.2 and makes the name change.

Also:
- added new required dependency on libuuid
- remove --disable-spotify since Spotify is now supported without requiring proprietary libspotify
- removed configure flags that are enabled by default anyway (mpd, verification etc.)
- add --disable-install_xxx since that is done by OpenWrt's build

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2021-09-08 22:57:43 -04:00

16 lines
240 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2014 OpenWrt.org
START=99
BIN=/usr/sbin/owntone
PID=/var/run/owntone.pid
SSD=start-stop-daemon
start() {
$SSD -p $PID -S -x $BIN -- -P $PID
}
stop() {
$SSD -p $PID -K -s SIGINT
}