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

21 lines
435 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
2023-03-31 17:37:50 +02:00
StartLimitIntervalSec=0
2020-07-10 00:58:55 +02:00
After=network.target
[Service]
Type=notify
2022-12-03 00:04:04 +01:00
KillMode=control-group
2023-11-10 13:27:34 +01:00
Restart=on-failure
RestartSec=1
StartLimitInterval=0
2020-07-10 00:58:55 +02:00
NotifyAccess=all
LimitNOFILE=8192
2023-01-07 21:10:27 +01:00
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