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

21 lines
431 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
2024-09-03 17:23:56 +02:00
StartLimitIntervalSec=5
2024-09-01 15:05:47 +02:00
StartLimitBurst=5
2020-07-10 00:58:55 +02:00
[Service]
Type=notify
2022-12-03 00:04:04 +01:00
KillMode=control-group
2024-09-03 17:23:56 +02:00
Restart=always
2024-05-16 07:58:05 +02:00
RestartSec=10s
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