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.

buildbot-worker@.service 703B

пре 4 година
12345678910111213141516171819202122232425
  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=~
  14. ExecStart=/usr/local/bin/buildbot-worker start --nodaemon buildbot-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