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

16 lines
367 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=process
NotifyAccess=all
LimitNOFILE=8192
ExecStart=/usr/local/bin/salt-minion
TimeoutStopSec=10s
[Install]
WantedBy=multi-user.target