paulbsd-salt/states/salt_minion/templates/salt-minion.service.j2
Paul a48bd70a32
All checks were successful
continuous-integration/drone/push Build is passing
updated salt_minion state
2024-09-01 15:05:47 +02:00

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