From: | "Dirkjan Ochtman (djc)" <djc@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/buildbot-slave/files: buildslave.initd |
Date: | Sun, 30 Sep 2012 17:24:44 |
Message-Id: | 20120930172435.6325421600@flycatcher.gentoo.org |
1 | djc 12/09/30 17:24:35 |
2 | |
3 | Modified: buildslave.initd |
4 | Log: |
5 | Let s-s-d know about custom pidfile (bug 397759, thanks to jbergstroem). |
6 | |
7 | (Portage version: 2.1.11.23/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.3 dev-util/buildbot-slave/files/buildslave.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot-slave/files/buildslave.initd?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot-slave/files/buildslave.initd?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot-slave/files/buildslave.initd?r1=1.2&r2=1.3 |
15 | |
16 | Index: buildslave.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/files/buildslave.initd,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- buildslave.initd 3 Sep 2011 19:39:25 -0000 1.2 |
23 | +++ buildslave.initd 30 Sep 2012 17:24:35 -0000 1.3 |
24 | @@ -1,5 +1,5 @@ |
25 | #!/sbin/runscript |
26 | -# Copyright 1999-2011 Gentoo Foundation |
27 | +# Copyright 1999-2012 Gentoo Foundation |
28 | # Distributed under the terms of the GNU General Public License v2 |
29 | |
30 | depend() { |
31 | @@ -31,6 +31,7 @@ |
32 | # We set HOME here to make something valid show up in the env of child |
33 | # processes spawned by the buildslave. |
34 | start-stop-daemon --start -u "${USERNAME}" \ |
35 | + --pidfile "${BASEDIR}/buildslave.pid" \ |
36 | --env HOME="${BASEDIR}" \ |
37 | --exec /usr/bin/python -- /usr/bin/twistd \ |
38 | --no_save \ |