Browse Source

systemd service unit

master
parent
commit
97dc2a1ab9
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      tasks/setup.yaml

+ 9
- 0
tasks/setup.yaml View File

@@ -5,3 +5,12 @@
name:
- buildbot-worker
executable: pip3

# source of unit file from https://github.com/buildbot/buildbot-contrib/blob/master/worker/contrib/systemd/buildbot-worker%40.service
- name: buildbot-worker systemd service unit
copy:
src: systemd/buildbot-worker@.service
dest: /etc/systemd/system/buildbot-worker@.service
notify:
- systemd daemon reload
- restart buildbot-worker service

Loading…
Cancel
Save