summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/buildbot-slave/files/buildslave.initd')
-rw-r--r--dev-util/buildbot-slave/files/buildslave.initd3
1 files changed, 2 insertions, 1 deletions
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 \