summaryrefslogtreecommitdiff
path: root/pcr/snort/snort@.service
blob: 002818ca93b9d138b261c9e23684e2d79742ad4b (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 --daq-dir /usr/lib/daq/ -A fast -b -p -u snort -g snort -c /etc/snort/snort.conf -i %I

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