paulbsd-salt/states/salt_minion/templates/salt-minion.service.j2
Paul Lecuq 9e359aa229
All checks were successful
continuous-integration/drone/push Build is passing
updated salt_minion state
2024-09-03 17:23:56 +02:00

21 lines
431 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
After=network.target
StartLimitIntervalSec=5
StartLimitBurst=5
[Service]
Type=notify
KillMode=control-group
Restart=always
RestartSec=10s
NotifyAccess=all
LimitNOFILE=32768
ExecStart=salt-minion
TimeoutStopSec=5s
[Install]
WantedBy=multi-user.target