summaryrefslogtreecommitdiff
path: root/pcr/snort/snort.service
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 18:12:22 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 18:12:22 +0200
commitba02ef204e8724e511c63426301a86965b474fd4 (patch)
tree3516ddd6dc03af768d9581e75bfe8e0170d4c40d /pcr/snort/snort.service
parent2e64e29479570bf7f2ad9dc1924010a9adf1da88 (diff)
downloadabslibre-ba02ef204e8724e511c63426301a86965b474fd4.tar.gz
abslibre-ba02ef204e8724e511c63426301a86965b474fd4.tar.bz2
abslibre-ba02ef204e8724e511c63426301a86965b474fd4.zip
snort
Diffstat (limited to 'pcr/snort/snort.service')
-rw-r--r--pcr/snort/snort.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/snort/snort.service b/pcr/snort/snort.service
new file mode 100644
index 000000000..d3d0da01f
--- /dev/null
+++ b/pcr/snort/snort.service
@@ -0,0 +1,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