summaryrefslogtreecommitdiff
path: root/pcr/snort/snort@.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-12-24 20:29:52 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-12-25 12:17:37 -0300
commita850d3d993bf94cfa5e2892a234fa2dafda55310 (patch)
tree45c477d23a112bbb3defc80e50308409ad349935 /pcr/snort/snort@.service
parentd9cc39e8c02c22c84722e80d9d2b2bb6cc6b210c (diff)
downloadabslibre-a850d3d993bf94cfa5e2892a234fa2dafda55310.tar.gz
abslibre-a850d3d993bf94cfa5e2892a234fa2dafda55310.tar.bz2
abslibre-a850d3d993bf94cfa5e2892a234fa2dafda55310.zip
snort rebuild with a new service file
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..b78d543d4
--- /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 --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@eth0.service