summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-25 07:42:35 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-25 07:42:35 +0000
commit1ff6e48b8056ba8bbe6dbbdca64ee63f4be0caeb (patch)
tree9b3549220f94229c7d07e5acbe0282e820ca7c95 /net-nntp/nzbget/files
parentVersion bump. (diff)
downloadgentoo-2-1ff6e48b8056ba8bbe6dbbdca64ee63f4be0caeb.tar.gz
gentoo-2-1ff6e48b8056ba8bbe6dbbdca64ee63f4be0caeb.tar.bz2
gentoo-2-1ff6e48b8056ba8bbe6dbbdca64ee63f4be0caeb.zip
Replace chuid with user for init script (bug #395881).
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'net-nntp/nzbget/files')
-rw-r--r--net-nntp/nzbget/files/nzbget.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd
index 31df55a3e214..8d984ccc7ce5 100644
--- a/net-nntp/nzbget/files/nzbget.initd
+++ b/net-nntp/nzbget/files/nzbget.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/files/nzbget.initd,v 1.2 2011/12/04 10:44:19 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/files/nzbget.initd,v 1.3 2011/12/25 07:42:35 radhermit Exp $
extra_started_commands="pause unpause"
@@ -11,7 +11,7 @@ depend() {
start() {
ebegin "Starting nzbget"
- start-stop-daemon --quiet --start --chuid "${NZBGET_USER}" \
+ start-stop-daemon --quiet --start --user "${NZBGET_USER}" \
--group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \
--configfile "${NZBGET_CONFIGFILE}" --daemon \
${NZBGET_OPTS}