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
|
2023-11-10 13:27:34 +01:00
|
|
|
Restart=on-failure
|
2024-05-16 07:58:05 +02:00
|
|
|
RestartSec=10s
|
2024-08-27 22:47:41 +02:00
|
|
|
StartLimitIntervalSec=500
|
|
|
|
StartLimitBurst=5
|
2020-07-10 00:58:55 +02:00
|
|
|
NotifyAccess=all
|
2024-08-27 22:47:41 +02:00
|
|
|
LimitNOFILE=32768
|
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
|