26 lines
793 B
Desktop File
26 lines
793 B
Desktop File
[Unit]
|
|
Description=LEAF passive Suricata sensor on eth1
|
|
# Start after the controller has bound its alert socket and reported ready.
|
|
# Runtime reconnect occurs on a later alert write; alerts during downtime
|
|
# are not stored for replay.
|
|
After=network-online.target leaf-controller.service
|
|
Wants=network-online.target leaf-controller.service
|
|
RequiresMountsFor=/var/log/suricata-leaf
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStartPre=/usr/bin/suricata -T -c /etc/suricata-leaf/suricata-leaf.yaml -l /var/log/suricata-leaf
|
|
ExecStart=/usr/bin/suricata --af-packet=eth1 -c /etc/suricata-leaf/suricata-leaf.yaml -l /var/log/suricata-leaf
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
KillSignal=SIGINT
|
|
TimeoutStopSec=60
|
|
User=root
|
|
Group=leafctrl
|
|
UMask=0027
|
|
ProtectSystem=full
|
|
ProtectHome=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|