mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-05 10:58:05 +02:00
19 lines
529 B
Django/Jinja
19 lines
529 B
Django/Jinja
{% from 'salt/map.jinja' import interface -%}
|
|
|
|
[Unit]
|
|
Description=The Salt Minion
|
|
Documentation=man:salt-minion(1) file:///usr/share/doc/salt/html/contents.html https://docs.saltproject.io/en/latest/contents.html
|
|
After=network.target salt-master.service
|
|
|
|
[Service]
|
|
KillMode=process
|
|
Type=notify
|
|
NotifyAccess=all
|
|
LimitNOFILE=8192
|
|
ExecStartPre=/bin/bash -c 'until /sbin/ip -4 addr show dev {{ interface }} | grep -q "inet "; do sleep 1; done'
|
|
ExecStart=/usr/bin/salt-minion
|
|
TimeoutStartSec=120
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|