参考https://mp.weixin.qq.com/s/0Uu_nbGH_W6vAYHPH4kHqg
Releases · jeessy2/ddns-go · GitHub
mkdir -p /usr/local/ddns-go
cd /usr/local/ddns-gowget https://github.com/jeessy2/ddns-go/releases/download/v6.1.1/ddns-go_6.1.1_freebsd_armv7.tar.gztar zxvf ddns-go_6.1.1_freebsd_armv7.tar.gznano /etc/systemd/system/ddns-go.service[Unit]
Description=The DDNS-GO Process Manager
After=network.target[Service]
Type=simple
ExecStart=/usr/local/ddns-go/ddns-go -c /usr/local/ddns-go/ddns_go_config.yaml
ExecStop=/bin/killall ddns-go[Install]
WantedBy=multi-user.target# 重载
systemctl daemon-reload
# 启动
systemctl start ddns-go
# 开机启动
systemctl enable ddns-go
ddns-go_6.1.1_freebsd_armv7.tar.gz
3.46 MB 2024-02-02T04:45:39Z
systemctl status ddns-go.service
● ddns-go.service - The DDNS-GO Process Manager
Loaded: loaded (/etc/systemd/system/ddns-go.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-02-08 15:19:59 CST; 41min ago
Main PID: 23237 (ddns-go)
Tasks: 9 (limit: 2186)
Memory: 3.0M
CPU: 704ms
CGroup: /system.slice/ddns-go.service
└─23237 /usr/local/ddns-go/ddns-go -c /usr/local/ddns-go/ddns_go_config.yaml
Feb 08 15:19:59 onecloud systemd[1]: Started The DDNS-GO Process Manager.
Feb 08 15:19:59 onecloud ddns-go[23237]: 2024/02/08 15:19:59 监听 :9876
Feb 08 15:19:59 onecloud ddns-go[23237]: 请手动打开浏览器并访问 http://127.0.0.1:9876 进行配置
访问地址
ip:9876