From: | "Lars Wendler (polynomial-c)" <polynomial-c@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-daemon-r1.initd |
Date: | Fri, 07 Feb 2014 07:59:08 |
Message-Id: | 20140207075903.B1B932004C@flycatcher.gentoo.org |
1 | polynomial-c 14/02/07 07:59:03 |
2 | |
3 | Modified: git-daemon-r1.initd |
4 | Log: |
5 | Attempt to fix startup of git-daemon as non-root user (bug #460370). Added sys-devel/gettext to DEPEND when nls USE flag is enabled |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-vcs/git/files/git-daemon-r1.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?r1=1.1&r2=1.2 |
15 | |
16 | Index: git-daemon-r1.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- git-daemon-r1.initd 4 Feb 2014 09:36:35 -0000 1.1 |
23 | +++ git-daemon-r1.initd 7 Feb 2014 07:59:03 -0000 1.2 |
24 | @@ -1,12 +1,12 @@ |
25 | #!/sbin/runscript |
26 | # Copyright 1999-2014 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.1 2014/02/04 09:36:35 polynomial-c Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.2 2014/02/07 07:59:03 polynomial-c Exp $ |
30 | |
31 | pidfile="/run/git-daemon.pid" |
32 | command="/usr/bin/git" |
33 | -command_args="daemon --pid-file=${pidfile} --user=${GIT_USER} --group=${GIT_GROUP} ${GITDAEMON_OPTS}" |
34 | -start_stop_daemon_args="-b -p ${pidfile}" |
35 | +command_args="daemon ${GITDAEMON_OPTS}" |
36 | +start_stop_daemon_args="-b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}" |
37 | |
38 | depend() { |
39 | use logger |