paulbsd-salt/states/dkron/service.sls

16 lines
382 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "dkron/map.jinja" import dkron with context %}
dkron-service-file:
file.managed:
- name: /etc/systemd/system/dkron@.service
- source: salt://dkron/dkron.service.j2
- user: root
- group: root
- template: jinja
- watch_in:
- service: dkron-service
dkron-service:
service.running:
- name: dkron@{{ dkron.runuser }}
2020-09-12 17:41:35 +02:00
- enable: true