paulbsd-salt/states/bareos/service.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

20 lines
436 B
Plaintext

---
bareos-fd-service-file:
file.managed:
- name: /etc/systemd/system/bareos-fd.service
- source: salt://bareos/templates/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