blob: 72fc09b5494555a564179c80c1d2dbd1fc3e0ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/sbin/runscript
#
# Startup script for the edna mp3 mini server
#
# description: edna is a mini mp3 webserver
# processname: python
# pidfile: /var/run/ednad.pid
# config:
depend() {
need local
}
start() {
ebegin "Starting ednad mp3 server"
start-stop-daemon -m --quiet --pidfile /var/run/ednad.pid --start --exec \
/usr/bin/edna -- --daemon /etc/edna/edna.conf
eend $?
}
stop() {
ebegin "Stopping ednad"
start-stop-daemon -o --quiet --stop --pidfile /var/run/ednad.pid
eend $?
}
|