summaryrefslogtreecommitdiffstats
path: root/main/trac/tracd.initd
diff options
context:
space:
mode:
authorJesse Young <jlyo@jlyo.org>2011-11-25 12:46:26 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-01 07:15:51 +0000
commitae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch)
treefca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/trac/tracd.initd
parent379338be8b4cd31b24080f7f01ae14fe124a84ae (diff)
downloadaports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.bz2
aports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.xz
Replace instances of "--chuid" to "--user" in initd scripts
Fixes #776 Signed-off-by: Jesse Young <jlyo@jlyo.org>
Diffstat (limited to 'main/trac/tracd.initd')
-rwxr-xr-xmain/trac/tracd.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/trac/tracd.initd b/main/trac/tracd.initd
index 83f84052d..fc365e161 100755
--- a/main/trac/tracd.initd
+++ b/main/trac/tracd.initd
@@ -12,7 +12,7 @@ start() {
# tracd fails to create pidfile if started as non-root user, thus we are asking
# s-s-d to do that. To have correct pid we avoid -d option of tracd and use
# --background option of s-s-d.
- start-stop-daemon --start --chuid ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \
+ start-stop-daemon --start --user ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \
--pidfile /var/run/tracd.pid --make-pidfile --background \
--env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \
--exec /usr/bin/python -- /usr/bin/tracd \