paulbsd-salt/states/salt_minion/templates/salt-minion.service.j2
Paul fe3fdea771
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
updated salt_minion state
2024-05-16 07:58:05 +02:00

22 lines
457 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=500
StartLimitBurst=5
After=network.target
[Service]
Type=notify
KillMode=control-group
Restart=on-failure
RestartSec=10s
StartLimitInterval=0
NotifyAccess=all
LimitNOFILE=8192
ExecStart=salt-minion
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target