aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $?
}