summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-09-28 10:34:03 +0000
committerPacho Ramos <pacho@gentoo.org>2013-09-28 10:34:03 +0000
commitef876eb8a88f3a85fac58228504fb649f88d6d82 (patch)
tree52d3089824352b4d173239e1e6baec2008dd6a16 /dev-util/buildbot/files
parentremove old (diff)
downloadgentoo-2-ef876eb8a88f3a85fac58228504fb649f88d6d82.tar.gz
gentoo-2-ef876eb8a88f3a85fac58228504fb649f88d6d82.tar.bz2
gentoo-2-ef876eb8a88f3a85fac58228504fb649f88d6d82.zip
Add unit file (#486082 by Evgeniy Dushistov)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'dev-util/buildbot/files')
-rw-r--r--dev-util/buildbot/files/buildbot.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/buildbot/files/buildbot.service b/dev-util/buildbot/files/buildbot.service
new file mode 100644
index 000000000000..371d6e086de9
--- /dev/null
+++ b/dev-util/buildbot/files/buildbot.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=buildbot master daemon
+After=local-fs.target network.target
+
+[Service]
+Type=forking
+User=buildbot
+WorkingDirectory=/var/lib/buildmaster
+ExecStartPre=/usr/bin/buildbot checkconfig /var/lib/buildmaster
+ExecStart=/usr/bin/buildbot start /var/lib/buildmaster
+ExecStop=/usr/bin/buildbot stop /var/lib/buildmaster
+
+[Install]
+WantedBy=multi-user.target