From ae1967b66eba132dd8c9fa5b5f57712d012b6647 Mon Sep 17 00:00:00 2001 From: Jesse Young Date: Fri, 25 Nov 2011 12:46:26 -0600 Subject: Replace instances of "--chuid" to "--user" in initd scripts Fixes #776 Signed-off-by: Jesse Young --- main/trac/APKBUILD | 4 ++-- main/trac/tracd.initd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'main/trac') 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 \ -- cgit v1.2.3