paulbsd-salt/states/salt_minion/templates/salt-minion.service.j2
Paul Lecuq 451e46b6a7
All checks were successful
continuous-integration/drone/push Build is passing
updated salt_minion state
2023-11-10 13:27:34 +01:00

23 lines
464 B
Django/Jinja

{%- from "salt_minion/map.jinja" import salt_minion with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=The Salt Minion daemon
StartLimitIntervalSec=0
After=network.target
[Service]
Type=notify
KillMode=control-group
Restart=on-failure
RestartSec=1
StartLimitInterval=0
NotifyAccess=all
LimitNOFILE=8192
ExecStart=salt-minion
TimeoutStopSec=5s
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target