diff --git a/cf-ddns.service b/cf-ddns.service new file mode 100644 index 0000000..47d0d25 --- /dev/null +++ b/cf-ddns.service @@ -0,0 +1,15 @@ +[Unit] +Description=Cloudflare DDNS updater (local IPv4 via default route) +Wants=network-online.target +After=network-online.target + +[Service] +Type=oneshot +EnvironmentFile=/etc/cf-ddns/cf-ddns.env +ExecStart=/usr/local/bin/cf-ddns +Nice=10 +IOSchedulingClass=best-effort + +[Install] +WantedBy=multi-user.target +EOF \ No newline at end of file