summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arp-ddns.service6
-rw-r--r--arp-ddns.timer9
2 files changed, 15 insertions, 0 deletions
diff --git a/arp-ddns.service b/arp-ddns.service
new file mode 100644
index 0000000..b7e356a
--- /dev/null
+++ b/arp-ddns.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=scan via arp for ddns known clients
+
+[Service]
+Type=oneshot
+ExecStart=/usr/src/skripte/arp-ddns/arp-ddns
diff --git a/arp-ddns.timer b/arp-ddns.timer
new file mode 100644
index 0000000..09ff78b
--- /dev/null
+++ b/arp-ddns.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=scan via arp for ddns clients every 10 minutes
+
+[Timer]
+OnUnitActiveSec=5 min
+OnStartupSec=5 min
+
+[Install]
+WantedBy=timers.target