Add DDNS service to the Pi

This commit is contained in:
Thomas Kleinendorst 2024-04-12 08:39:41 +02:00
parent 04c8038733
commit 04671f7d31
10 changed files with 96 additions and 12 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description=Cloudflare DDNS service
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=cloudflare_ddns
Group=cloudflare_ddns
ExecStart=/home/cloudflare_ddns/bin/cloudflare_ddns/cloudflare_ddns.sh {{ wireguard_address }}
[Install]
WantedBy=default.target