summaryrefslogtreecommitdiffstats
path: root/main/vlc/vlc.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/vlc/vlc.initd')
-rwxr-xr-xmain/vlc/vlc.initd8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/vlc/vlc.initd b/main/vlc/vlc.initd
index 361615860..11567dcd8 100755
--- a/main/vlc/vlc.initd
+++ b/main/vlc/vlc.initd
@@ -6,15 +6,17 @@ depend() {
start() {
ebegin "Starting VLC"
- start-stop-daemon --start --oknodo \
- --pidfile /var/run/vlc.pid --user vlc \
+ start-stop-daemon --start \
+ --user vlc \
--exec /usr/bin/vlc -- ${VLC_OPTS}
eend $?
}
stop () {
ebegin "Stopping VLC"
- start-stop-daemon --stop --oknodo --exec /usr/bin/vlc
+ start-stop-daemon --stop \
+ --signal KILL \
+ --exec /usr/bin/vlc
eend $?
}