mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
ydns-simple service & timer
This commit is contained in:
parent
9ac3c776d7
commit
3370327db0
@ -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.
|
||||
|
9
etc/systemd/system/ydns-simple.service
Normal file
9
etc/systemd/system/ydns-simple.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=ydns-simple service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/ydns-simple
|
||||
|
||||
[Install]
|
||||
WantedBy=ydns-simple.timer
|
9
etc/systemd/system/ydns-simple.timer
Normal file
9
etc/systemd/system/ydns-simple.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run ydns-simple every 5 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
OnUnitActiveSec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user