summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-06-19 22:09:51 +0200
committerErich Eckner <git@eckner.net>2024-06-19 22:09:51 +0200
commitb373e33d6a99153f6743155208581b71fb79da82 (patch)
tree41169eefce84a8ed46388ceb6bf2c4f64ad765c9
parentd705980225c4cb9e3626e48f9de873443d57836d (diff)
downloadarp-ddns-b373e33d6a99153f6743155208581b71fb79da82.tar.xz
systemd units newmain
-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