summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-28 14:43:40 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-28 14:43:40 +0000
commit3fbe30771817dd477016cef6b3ba580934a7a4da (patch)
tree9458402e297e91c2df3d2cc8a45ec826cd788a16 /www-apps/trac
parentDelete older ebuilds. (diff)
downloadgentoo-2-3fbe30771817dd477016cef6b3ba580934a7a4da.tar.gz
gentoo-2-3fbe30771817dd477016cef6b3ba580934a7a4da.tar.bz2
gentoo-2-3fbe30771817dd477016cef6b3ba580934a7a4da.zip
Rename tracd.initd.2 to tracd.initd.
Diffstat (limited to 'www-apps/trac')
-rwxr-xr-xwww-apps/trac/files/tracd.initd3
-rwxr-xr-xwww-apps/trac/files/tracd.initd.227
2 files changed, 2 insertions, 28 deletions
diff --git a/www-apps/trac/files/tracd.initd b/www-apps/trac/files/tracd.initd
index c63b794298a6..83f84052d3a4 100755
--- a/www-apps/trac/files/tracd.initd
+++ b/www-apps/trac/files/tracd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.3 2008/07/16 21:20:07 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.4 2010/05/28 14:43:40 arfrever Exp $
depend() {
need net
@@ -14,6 +14,7 @@ start() {
# --background option of s-s-d.
start-stop-daemon --start --chuid ${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 \
-p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/}
eend $?
diff --git a/www-apps/trac/files/tracd.initd.2 b/www-apps/trac/files/tracd.initd.2
deleted file mode 100755
index 75de90902efb..000000000000
--- a/www-apps/trac/files/tracd.initd.2
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd.2,v 1.1 2008/09/10 07:50:30 wrobel Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting tracd"
- # 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} \
- --pidfile /var/run/tracd.pid --make-pidfile --background \
- --env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \
- --exec /usr/bin/python -- /usr/bin/tracd \
- -p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/}
- eend $?
-}
-
-stop() {
- ebegin "Stopping tracd"
- start-stop-daemon --stop --quiet --pidfile /var/run/tracd.pid
- eend $?
-}