From b373e33d6a99153f6743155208581b71fb79da82 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 Jun 2024 22:09:51 +0200 Subject: systemd units new --- arp-ddns.service | 6 ++++++ arp-ddns.timer | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 arp-ddns.service create mode 100644 arp-ddns.timer 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 -- cgit v1.2.3-70-g09d2