2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
bareos-fd-service-file:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/systemd/system/bareos-fd.service
|
|
|
|
- source: salt://bareos/bareos-fd.service.j2
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 0644
|
|
|
|
- template: jinja
|
|
|
|
- watch_in:
|
|
|
|
- service: bareos-fd-service
|
|
|
|
- require:
|
|
|
|
- file: bareos-fd-bin
|
|
|
|
|
|
|
|
bareos-fd-service:
|
|
|
|
service.running:
|
|
|
|
- name: bareos-fd
|
2020-09-12 17:41:35 +02:00
|
|
|
- enable: true
|
2020-07-10 00:58:55 +02:00
|
|
|
- require:
|
|
|
|
- file: bareos-fd-service-file
|