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

20 lines
411 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
NotifyAccess=all
LimitNOFILE=8192
ExecStart=salt-minion
TimeoutStopSec=5s
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target