paulbsd-salt/states/dkron/dkron.service.j2
Paul Lecuq 1b59cdacdd * Update salt states
- bl module updated
- borg state updated
- config state updated
- netbox state updated
- nginx state updated
- misc updates
2022-02-21 13:52:46 +01:00

17 lines
409 B
Django/Jinja

{%- from "dkron/map.jinja" import dkron with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=dkron - Open Source task scheduler
Documentation=https://dkron.io/
After=network.target
[Service]
User=%i
ExecStart={{ dkron.install_dir }}/dkron/dkron agent
Restart=on-failure
SuccessExitStatus=3 4
RestartForceExitStatus=3 4
[Install]
WantedBy=multi-user.target