1
Kylinsun 2019-12-05 15:10:34 +08:00
supervisord 配置常驻进程
|
2
ganymedenil590 2019-12-05 15:38:54 +08:00 1
|
3
liuyinltemp OP @ganymedenil590 非常感谢,已经搞好了,谢谢大牛。也谢谢 @Kylinsun
贴一下代码: touch /etc/local.d/caddy.start cat <<EOF > /etc/local.d/caddy.start nohup /usr/local/bin/caddy -conf /usr/local/bin/Caddyfile EOF chmod +x /etc/local.d/caddy.start rc-update add local |
4
lostpg 2019-12-06 01:29:45 +08:00
看看 caddy 官方的文档呗,这文档藏得有点深的。对服务权限限制很严格
github.com/caddyserver/caddy/tree/master/dist/init |
5
liuyinltemp OP 更细一下,建议 nohup /usr/local/bin/caddy -conf /usr/local/bin/Caddyfile &
|