diff --git a/etc/systemd/system/README.md b/etc/systemd/system/README.md index aacd0085..acefdb34 100644 --- a/etc/systemd/system/README.md +++ b/etc/systemd/system/README.md @@ -1,5 +1,7 @@ -The IPv6 files are copied from https://www.reddit.com/r/raspberry_pi/comments/14vcpz/rpi_as_an_ipv6_router_using_a_sixxs_tunnel_and/ -an they are here because they were my biggest difficulty with having +* The IPv6 files are copied from https://www.reddit.com/r/raspberry_pi/comments/14vcpz/rpi_as_an_ipv6_router_using_a_sixxs_tunnel_and/ + and they are here because they were my biggest difficulty with having Arch on Pi as IPv6 router. - -Also helpful https://wiki.archlinux.org/index.php/IPv6_tunnel_broker_setup + * Also helpful + https://wiki.archlinux.org/index.php/IPv6_tunnel_broker_setup +* ydns-simple.\* are for https://github.com/Mikaela/scripts/blob/gh-pages/bash/ydns-simple and I am just curious and want to avoid installing cron to + my phone. diff --git a/etc/systemd/system/ydns-simple.service b/etc/systemd/system/ydns-simple.service new file mode 100644 index 00000000..f00218e4 --- /dev/null +++ b/etc/systemd/system/ydns-simple.service @@ -0,0 +1,9 @@ +[Unit] +Description=ydns-simple service + +[Service] +Type=simple +ExecStart=/usr/local/bin/ydns-simple + +[Install] +WantedBy=ydns-simple.timer diff --git a/etc/systemd/system/ydns-simple.timer b/etc/systemd/system/ydns-simple.timer new file mode 100644 index 00000000..703639e6 --- /dev/null +++ b/etc/systemd/system/ydns-simple.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run ydns-simple every 5 minutes + +[Timer] +OnBootSec=1min +OnUnitActiveSec=5min + +[Install] +WantedBy=timers.target