summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-02-06 18:15:36 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-02-06 18:15:36 +0000
commita9c5aa538c0b7b8a7fec312d2ec15ba6b8f4ee86 (patch)
tree96db4c73080485cd0339f908889480d634e444de /dev-util/buildbot/files
parentVersion bump for bug 455562 (diff)
downloadhistorical-a9c5aa538c0b7b8a7fec312d2ec15ba6b8f4ee86.tar.gz
historical-a9c5aa538c0b7b8a7fec312d2ec15ba6b8f4ee86.tar.bz2
historical-a9c5aa538c0b7b8a7fec312d2ec15ba6b8f4ee86.zip
Pass --pidfile to start-stop-daemon so we can get proper init script status reports from rc-status
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64 Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'dev-util/buildbot/files')
-rw-r--r--dev-util/buildbot/files/buildmaster.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/buildbot/files/buildmaster.initd b/dev-util/buildbot/files/buildmaster.initd
index ff0ab0d37641..08c921b022aa 100644
--- a/dev-util/buildbot/files/buildmaster.initd
+++ b/dev-util/buildbot/files/buildmaster.initd
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -29,6 +29,7 @@ start() {
checkconfig || return 1
ebegin "Starting buildmaster in ${BASEDIR}"
start-stop-daemon --start -u "${USERNAME}" \
+ --pidfile "${BASEDIR}/buildmaster.pid" \
--exec /usr/bin/python -- /usr/bin/twistd \
--no_save \
--logfile="${BASEDIR}/twistd.log" \