You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
720B

  1. # This template file assumes the buildbot worker lives in a subdirectory od
  2. # /var/lib/buildbot
  3. # Usage:
  4. # cd /var/lib/buildbot
  5. # buildbot-worker create-worker [directory] [master hostname] [name] [password]
  6. # systemctl enable --now buildbot-worker@[directory].service
  7. [Unit]
  8. Description=Buildbot Worker
  9. After=network.target
  10. [Service]
  11. User=%i
  12. Group=%i
  13. WorkingDirectory=/var/lib/buildbot-worker/%i
  14. ExecStart=/usr/local/bin/buildbot-worker start --nodaemon worker
  15. # if using EC2 Latent worker, you want to uncomment following line, and comment out the Restart line
  16. # ExecStopPost=shutdown now
  17. Restart=always
  18. ProtectSystem=full
  19. ProtectHome=yes
  20. PrivateDevices=yes
  21. PrivateTmp=yes
  22. [Install]
  23. WantedBy=multi-user.target