1 |
idl0r 11/12/31 20:17:51 |
2 |
|
3 |
Modified: tracd.initd |
4 |
Log: |
5 |
Revbump. Don't use deprecated start-stop-daemon options, bug 380607. |
6 |
|
7 |
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 www-apps/trac/files/tracd.initd |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/files/tracd.initd?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/files/tracd.initd?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/trac/files/tracd.initd?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: tracd.initd |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- tracd.initd 8 Feb 2011 08:02:50 -0000 1.5 |
23 |
+++ tracd.initd 31 Dec 2011 20:17:51 -0000 1.6 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License, v2 or later |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.5 2011/02/08 08:02:50 djc Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.6 2011/12/31 20:17:51 idl0r Exp $ |
30 |
|
31 |
depend() { |
32 |
need net |
33 |
@@ -12,7 +12,7 @@ |
34 |
# tracd fails to create pidfile if started as non-root user, thus we are asking |
35 |
# s-s-d to do that. To have correct pid we avoid -d option of tracd and use |
36 |
# --background option of s-s-d. |
37 |
- start-stop-daemon --start --chuid ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \ |
38 |
+ start-stop-daemon --start --user ${TRACD_USER:-tracd} --group ${TRACD_GROUP:-tracd} \ |
39 |
--pidfile /var/run/tracd.pid --make-pidfile --background \ |
40 |
--env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ |
41 |
--exec /usr/bin/tracd -- \ |