summarylogtreecommitdiffstats
path: root/addrwatch-git.service
diff options
context:
space:
mode:
Diffstat (limited to 'addrwatch-git.service')
-rw-r--r--addrwatch-git.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/addrwatch-git.service b/addrwatch-git.service
new file mode 100644
index 000000000000..c2a7ba538f1b
--- /dev/null
+++ b/addrwatch-git.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