diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-12-27 09:23:59 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-12-27 09:23:59 +0000 |
commit | 364d2c0ad53e66d2a7bc07a50651de7755ceab7c (patch) | |
tree | a2cafffe6a09acbeeaa2fe76bb8ab6b2ff387946 /main/vlc/vlc.initd | |
parent | df9bbc450045d76451b9348d0864fe1d129e3007 (diff) | |
download | aports-364d2c0ad53e66d2a7bc07a50651de7755ceab7c.tar.bz2 aports-364d2c0ad53e66d2a7bc07a50651de7755ceab7c.tar.xz |
main/vlc: fix daemon's stop
Diffstat (limited to 'main/vlc/vlc.initd')
-rwxr-xr-x | main/vlc/vlc.initd | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/vlc/vlc.initd b/main/vlc/vlc.initd index 3616158602..11567dcd86 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 $? } |