17 lines
408 B
Django/Jinja
17 lines
408 B
Django/Jinja
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
{%- from "dkron/map.jinja" import dkron with context %}
|
|
[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
|