summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/buildbot-slave')
-rw-r--r--dev-util/buildbot-slave/ChangeLog5
-rw-r--r--dev-util/buildbot-slave/files/buildslave.initd3
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-util/buildbot-slave/ChangeLog b/dev-util/buildbot-slave/ChangeLog
index e36c1f6b196b..7acc60f1ad3e 100644
--- a/dev-util/buildbot-slave/ChangeLog
+++ b/dev-util/buildbot-slave/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/buildbot-slave
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/ChangeLog,v 1.25 2012/06/08 07:44:54 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/ChangeLog,v 1.26 2012/09/30 17:24:35 djc Exp $
+
+ 30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> files/buildslave.initd:
+ Let s-s-d know about custom pidfile (bug 397759, thanks to jbergstroem).
08 Jun 2012; Tim Harder <radhermit@gentoo.org> buildbot-slave-0.8.3.ebuild,
buildbot-slave-0.8.5.ebuild, buildbot-slave-0.8.6.ebuild,
diff --git a/dev-util/buildbot-slave/files/buildslave.initd b/dev-util/buildbot-slave/files/buildslave.initd
index f14c14c4457c..17e22abdc7cb 100644
--- a/dev-util/buildbot-slave/files/buildslave.initd
+++ b/dev-util/buildbot-slave/files/buildslave.initd
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -31,6 +31,7 @@ start() {
# We set HOME here to make something valid show up in the env of child
# processes spawned by the buildslave.
start-stop-daemon --start -u "${USERNAME}" \
+ --pidfile "${BASEDIR}/buildslave.pid" \
--env HOME="${BASEDIR}" \
--exec /usr/bin/python -- /usr/bin/twistd \
--no_save \