paulbsd-salt/states/salt_minion/templates/salt-minion.service.j2

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