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

18 lines
397 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
2023-01-07 21:10:27 +01:00
ExecSearchPath=/usr/local/bin:/usr/bin
ExecStart=salt-minion
2022-12-03 00:04:04 +01:00
TimeoutStopSec=5s
2020-07-10 00:58:55 +02:00
[Install]
2023-01-07 21:10:27 +01:00
WantedBy=multi-user.target