summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2011-10-25 07:00:24 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2011-10-25 07:00:24 +0000
commita65729e98beca8b113b3d5e2f6c31dcb656d70c3 (patch)
tree6d5904ed9ff0be0fa3a3535d512be119092676f2 /main
parente8178726c3c7fa60ebe28eebc36768a71075892c (diff)
downloadaports-a65729e98beca8b113b3d5e2f6c31dcb656d70c3.tar.bz2
aports-a65729e98beca8b113b3d5e2f6c31dcb656d70c3.tar.xz
main/vlc: use "--user" in init.d"
Diffstat (limited to 'main')
-rw-r--r--main/vlc/APKBUILD2
-rwxr-xr-xmain/vlc/vlc.initd2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index 9910c990a..e96cfbf5c 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
pkgver=1.1.11
-pkgrel=1
+pkgrel=2
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 2c431c90f..361615860 100755
--- a/main/vlc/vlc.initd
+++ b/main/vlc/vlc.initd
@@ -7,7 +7,7 @@ depend() {
start() {
ebegin "Starting VLC"
start-stop-daemon --start --oknodo \
- --pidfile /var/run/vlc.pid --chuid vlc \
+ --pidfile /var/run/vlc.pid --user vlc \
--exec /usr/bin/vlc -- ${VLC_OPTS}
eend $?
}