diff options
author | Erich Eckner <git@eckner.net> | 2024-06-19 22:09:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-06-19 22:09:51 +0200 |
commit | b373e33d6a99153f6743155208581b71fb79da82 (patch) | |
tree | 41169eefce84a8ed46388ceb6bf2c4f64ad765c9 | |
parent | d705980225c4cb9e3626e48f9de873443d57836d (diff) | |
download | arp-ddns-b373e33d6a99153f6743155208581b71fb79da82.tar.xz |
systemd units newmain
-rw-r--r-- | arp-ddns.service | 6 | ||||
-rw-r--r-- | arp-ddns.timer | 9 |
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 |