[Unit]
Description=Buildmaster for taskbot
After=network.target

[Service]
Type=forking
PIDFile={{ buildmaster_dir }}/twistd.pid
ExecStart=/bin/buildbot start {{ buildmaster_dir }}
ExecStop=/bin/buildbot stop {{ buildmaster_dir }}
ExecReload=/bin/buildbot reconfig {{ buildmaster_dir }}
User={{ master_user }}
Group={{ master_user }}

[Install]
WantedBy=multi-user.target
