Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddy 无法开机自启动 #17

Closed
root9000 opened this issue Nov 17, 2019 · 1 comment
Closed

caddy 无法开机自启动 #17

root9000 opened this issue Nov 17, 2019 · 1 comment

Comments

@root9000
Copy link

系统debian10,重启后通过./ss-plugins.sh restart可以重新启动caddy,但是重启机器不能自启动,没有caddy进程。
查看日志是错误429,查了下是请求频繁?
但是通过过./ss-plugins.sh restart却可以启动

2019/11/16 21:39:26 [INFO] [xxx.com] acme: Obtaining bundled SAN certificate
2019/11/16 21:39:27 failed to obtain certificate: acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order......

systemctl status caddy.service

  • caddy.service - LSB: A Stable & Secure Tunnel Based On KCP with N:M Multiplexing
    Loaded: loaded (/etc/init.d/caddy; generated)
    Active: active (exited) since Sat 2019-11-16 21:30:12 EST; 13s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 410 ExecStart=/etc/init.d/caddy start (code=exited, status=0/SUCCESS)
@loyess
Copy link
Owner

loyess commented Nov 17, 2019

开机重启获取不到cf的API参数,caddy启动脚本里面没有写。主脚本里面有获取参数的过程,所以你可以用 ./ss-plugins.sh restart 来启动

这算是个bug,要修改caddy的开机启动脚本了

loyess added a commit that referenced this issue Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants