summaryrefslogtreecommitdiff
path: root/pcr/psad/psad-systemdinit.archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/psad/psad-systemdinit.archlinux')
-rw-r--r--pcr/psad/psad-systemdinit.archlinux12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/psad/psad-systemdinit.archlinux b/pcr/psad/psad-systemdinit.archlinux
new file mode 100644
index 000000000..991aa7423
--- /dev/null
+++ b/pcr/psad/psad-systemdinit.archlinux
@@ -0,0 +1,12 @@
+[Unit]
+Description=Port scan attack detector
+After=iptables.service
+
+[Service]
+ExecStart=/usr/sbin/psad
+ExecStop=/usr/sbin/psad --Kill
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target