summarylogtreecommitdiffstats
path: root/barnyard2.service
diff options
context:
space:
mode:
Diffstat (limited to 'barnyard2.service')
-rw-r--r--barnyard2.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/barnyard2.service b/barnyard2.service
new file mode 100644
index 00000000000..4ca75f3427e
--- /dev/null
+++ b/barnyard2.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Barnyard2 snort unified2 log processor
+After=snort.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/barnyard2 -c /etc/barnyard2/barnyard2.conf -d /var/log/snort -a /var/log/snort/old -f snort_unified.log -l /var/log/barnyard2 -w /var/log/barnyard2/barnyard2.waldo
+
+[Install]
+WantedBy=multi-user.target