summaryrefslogtreecommitdiff
path: root/community/arpwatch/arpwatch.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/arpwatch/arpwatch.service')
-rw-r--r--community/arpwatch/arpwatch.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/arpwatch/arpwatch.service b/community/arpwatch/arpwatch.service
new file mode 100644
index 000000000..ede31f3f7
--- /dev/null
+++ b/community/arpwatch/arpwatch.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Watch ARP on interface %I
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/usr/bin/touch /var/lib/arpwatch/%I.dat
+ExecStart=/usr/bin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I
+
+[Install]
+WantedBy=multi-user.target