diff options
author | Jesse Young <jlyo@jlyo.org> | 2011-11-25 12:46:26 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-01 07:15:51 +0000 |
commit | ae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch) | |
tree | fca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/trac | |
parent | 379338be8b4cd31b24080f7f01ae14fe124a84ae (diff) | |
download | aports-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')
-rw-r--r-- | main/trac/APKBUILD | 4 | ||||
-rwxr-xr-x | main/trac/tracd.initd | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/trac/APKBUILD b/main/trac/APKBUILD index c6cf392e40..b5ce2c6cea 100644 --- a/main/trac/APKBUILD +++ b/main/trac/APKBUILD @@ -3,7 +3,7 @@ pkgname=trac _realname=Trac pkgver=0.12.2 -pkgrel=1 +pkgrel=2 pkgusers="tracd" pkggroups="tracd" pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system." @@ -33,4 +33,4 @@ package() { md5sums="f70c7676601f2592bcb7871319e62dd7 Trac-0.12.2.tar.gz 95b1311ca65e1ffcd51a191542f45ba4 tracd.confd -e53761b1e84c5d68c8e6c4b837e57008 tracd.initd" +fd3f1cd33a2819c43de82b92a839660d tracd.initd" diff --git a/main/trac/tracd.initd b/main/trac/tracd.initd index 83f84052d3..fc365e161d 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 \ |