summaryrefslogtreecommitdiff
blob: 5c8e483fe83ad74410d72e3c024f79ed28190e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=buildbot slave instances
After=local-fs.target network.target

[Service]
Type=forking
User=buildbot
WorkingDirectory=/var/lib/buildslave
# The following assume there is a 'slave' directory
# in $WorkingDirectory with the slave configuration files
ExecStart=/usr/bin/buildslave start slave
ExecStop=/usr/bin/buildslave stop slave

[Install]
WantedBy=multi-user.target