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

16 lines
372 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
{%- 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
2022-12-03 00:04:04 +01:00
KillMode=control-group
2020-07-10 00:58:55 +02:00
NotifyAccess=all
LimitNOFILE=8192
ExecStart=/usr/local/bin/salt-minion
2022-12-03 00:04:04 +01:00
TimeoutStopSec=5s
2020-07-10 00:58:55 +02:00
[Install]
WantedBy=multi-user.target