summarylogtreecommitdiffstats
path: root/addrwatch.service
diff options
context:
space:
mode:
authorBrian Bidulock2018-09-03 20:50:50 -0600
committerBrian Bidulock2018-09-03 20:50:50 -0600
commit43180260008682c35f2b19b2997edbfebbfebcf4 (patch)
treef43df3e54c2e1ac446742ee898d3c55f56add1bd /addrwatch.service
downloadaur-43180260008682c35f2b19b2997edbfebbfebcf4.tar.gz
initial version
Diffstat (limited to 'addrwatch.service')
-rw-r--r--addrwatch.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/addrwatch.service b/addrwatch.service
new file mode 100644
index 000000000000..c2a7ba538f1b
--- /dev/null
+++ b/addrwatch.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Watch Ethernet/IP paring on interface %i
+After=systemd-network-wait-online.service
+Wants=systemd-network-wait-online.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/addrwatch -o /var/lib/addrwatch/%i.dat %i
+
+[Install]
+WantedBy=multi-user.target