aboutsummaryrefslogtreecommitdiffstats
path: root/main/vlc
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2011-12-27 09:23:59 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2011-12-27 09:23:59 +0000
commit364d2c0ad53e66d2a7bc07a50651de7755ceab7c (patch)
treea2cafffe6a09acbeeaa2fe76bb8ab6b2ff387946 /main/vlc
parentdf9bbc450045d76451b9348d0864fe1d129e3007 (diff)
downloadaports-364d2c0ad53e66d2a7bc07a50651de7755ceab7c.tar.bz2
aports-364d2c0ad53e66d2a7bc07a50651de7755ceab7c.tar.xz
main/vlc: fix daemon's stop
Diffstat (limited to 'main/vlc')
-rw-r--r--main/vlc/APKBUILD2
-rwxr-xr-xmain/vlc/vlc.initd8
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 $?
}