Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/redmine/files: redmine.initd
Date: Thu, 29 Sep 2011 00:40:19
Message-Id: 20110929004009.4B53F2004C@flycatcher.gentoo.org
1 matsuu 11/09/29 00:40:09
2
3 Modified: redmine.initd
4 Log:
5 Fixed dependency. Fixed initd files. Removed old versions.
6
7 (Portage version: 2.1.10.19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 www-apps/redmine/files/redmine.initd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/redmine/files/redmine.initd?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/redmine/files/redmine.initd?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/redmine/files/redmine.initd?r1=1.2&r2=1.3
15
16 Index: redmine.initd
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/redmine/files/redmine.initd,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- redmine.initd 25 Dec 2010 02:53:46 -0000 1.2
23 +++ redmine.initd 29 Sep 2011 00:40:09 -0000 1.3
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 -# Copyright 1999-2010 Gentoo Foundation
27 +# Copyright 1999-2011 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/files/redmine.initd,v 1.2 2010/12/25 02:53:46 matsuu Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/files/redmine.initd,v 1.3 2011/09/29 00:40:09 matsuu Exp $
31
32 RAILS_ENV=${RAILS_ENV:-production}
33 REDMINE_DIR=${REDMINE_DIR:-/var/lib/redmine}
34 @@ -18,7 +18,7 @@
35 start() {
36 ebegin "Starting redmine"
37 cd "${REDMINE_DIR}"
38 - start-stop-daemon --start --quiet --chuid ${REDMINE_USER}:${REDMINE_GROUP} \
39 + start-stop-daemon --start --quiet --user ${REDMINE_USER}:${REDMINE_GROUP} \
40 --pidfile "${REDMINE_PIDFILE}" \
41 --exec /usr/bin/ruby "${REDMINE_DIR}"/script/server -- \
42 --daemon --environment=${RAILS_ENV} \