main/vlc: use "--user" in init.d"

This commit is contained in:
Leonardo Arena 2011-10-25 07:00:24 +00:00
parent e8178726c3
commit a65729e98b
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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 $?
}