summarylogtreecommitdiffstats
path: root/addrwatch-git.service
diff options
context:
space:
mode:
authorBrian Bidulock2018-09-03 21:06:54 -0600
committerBrian Bidulock2018-09-03 21:06:54 -0600
commit976c293f451d0b93ffaf07b095ba4a102c4db98d (patch)
tree2b0a4f8284148b22bd959b03f4709de660c8e904 /addrwatch-git.service
downloadaur-976c293f451d0b93ffaf07b095ba4a102c4db98d.tar.gz
initial version
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