Skip to content

Commit 4a02aad

Browse files
committed
v0.1 + sing-box-1.13.3
1 parent 025fff0 commit 4a02aad

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

naivegui/vps-cron/duckdns-update

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22

33
# УКАЖИ ТВОЙ СУБДОМЕН (т.е. без duckdns.org) и ТОКЕН
44

5-
/usr/bin/curl -s "https://www.duckdns.org/update?domains=ТВОЙ_ДОМЕН&token=ТВОЙ_ТОКЕН&ip="
5+
SUBDOMAIN="ТВОЙ_СУБДОМЕН"
6+
TOKEN="ТВОЙ_ТОКЕН"
7+
8+
# Обновление DuckDNS
9+
/usr/bin/curl -s "https://www.duckdns.org/update?domains=$SUBDOMAIN&token=$TOKEN&ip=" > /var/log/duckdns.log 2>&1

0 commit comments

Comments
 (0)