paulbsd-salt/states/netbox/service.sls
2021-08-19 21:15:24 +02:00

14 lines
275 B
Plaintext

---
netbox-service-file:
file.managed:
- name: /etc/systemd/system/netbox.service
- source: salt://netbox/templates/netbox.service.j2
- template: jinja
- user: root
- group: root
netbox-service:
service.running:
- name: netbox
- enable: true