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

20 lines
426 B
Plaintext

---
bareos-fd-service-file:
file.managed:
- name: /etc/systemd/system/bareos-fd.service
- source: salt://bareos/bareos-fd.service.j2
- user: root
- group: root
- template: jinja
- watch_in:
- service: bareos-fd-service
- require:
- file: bareos-fd-bin
bareos-fd-service:
service.running:
- name: bareos-fd
- enable: true
- require:
- file: bareos-fd-service-file