23 lines
464 B
Django/Jinja
23 lines
464 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
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
StartLimitInterval=0
|
|
NotifyAccess=all
|
|
LimitNOFILE=8192
|
|
ExecStart=salt-minion
|
|
TimeoutStopSec=5s
|
|
Restart=always
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|