NewFuture / DDNS

:triangular_flag_on_post: 自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...)
https://ddns.newfuture.cc/
MIT License
4.22k stars 651 forks source link

[debug] debian12的systemd无法启动ddns.service #403

Open aka863 opened 1 year ago

aka863 commented 1 year ago

环境:debian12,使用网络安装ISO镜像。 使用 ./systemd.sh install安装DDNS。

debian12使用网络安装iso镜像安装的系统,默认不包含/usr/bin/python(即使使用apt安装python3,也没有/usr/bin/python), 造成/usr/lib/systemd/system/ddns.service中的 ExecStart=/usr/bin/env python /usr/share/DDNS/run.py -c /etc/DDNS/config.json 无法执行。