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
|
2022-04-10 12:40:10 +02:00
|
|
|
- source: salt://dkron/templates/dkron.service.j2
|
2020-07-10 00:58:55 +02:00
|
|
|
- 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
|