summaryrefslogtreecommitdiff
path: root/pcr/snort/snort.service
blob: d3d0da01ff780496edf87bf25b887ec08ba4bd47 (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=Snort IDS system listening on '%I'

[Service]
Type=simple
ExecStartPre=/usr/sbin/ip link set up dev %I
ExecStart=/usr/bin/snort -A fast -b -p -u snort -g snort -c /etc/snort/snort.conf -i %I

[Install]
Alias=multi-user.target.wants/snort@eth0.service