您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
703B

  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