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 | |
parent | df9bbc450045d76451b9348d0864fe1d129e3007 (diff) | |
download | aports-364d2c0ad53e66d2a7bc07a50651de7755ceab7c.tar.bz2 aports-364d2c0ad53e66d2a7bc07a50651de7755ceab7c.tar.xz |
main/vlc: fix daemon's stop
Diffstat (limited to 'main/vlc')
-rw-r--r-- | main/vlc/APKBUILD | 2 | ||||
-rwxr-xr-x | main/vlc/vlc.initd | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD index e467a2edd3..962cf725d6 100644 --- a/main/vlc/APKBUILD +++ b/main/vlc/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=vlc pkgver=1.1.13 -pkgrel=2 +pkgrel=3 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player" pkgusers="vlc" pkggroups="vlc" 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 $? } |