ydns-simple service & timer

This commit is contained in:
Aminda Suomalainen 2015-05-22 20:15:23 +03:00
parent 9ac3c776d7
commit 3370327db0
3 changed files with 24 additions and 4 deletions

View File

@ -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.

View File

@ -0,0 +1,9 @@
[Unit]
Description=ydns-simple service
[Service]
Type=simple
ExecStart=/usr/local/bin/ydns-simple
[Install]
WantedBy=ydns-simple.timer

View File

@ -0,0 +1,9 @@
[Unit]
Description=Run ydns-simple every 5 minutes
[Timer]
OnBootSec=1min
OnUnitActiveSec=5min
[Install]
WantedBy=timers.target