diff options
Diffstat (limited to 'community/arpwatch/arpwatch.service')
-rw-r--r-- | community/arpwatch/arpwatch.service | 11 |
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 |