abiosoft / abiosoft/caddy-docker

Build tool suggestion: also generate service file?

未关闭
#115 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
787
派生
303
PR 合并指标
30 天内没有已合并 PR

描述

@abiosoft per your suggestion, I tried your build tool. I already have a service file standard in place where I use Caddy; you might want to attempt generating one that folks could modify for their needs?

Related suggestion: maybe also a suggestion to the user to **/sbin/setcap CAP_NET_BIND_SERVICE=+eip (installed caddy binary)** ?

```
[Unit]
Description=Caddy
After=network.target
[Service]
Type=simple
LimitNOFILE=8192
ExecStartPre=/bin/mkdir -p /tmp/caddy_cache
ExecStart=/usr/local/bin/caddy -conf /etc/default/caddy
ExecReload=/usr/bin/pkill -USR1 caddy
User=caddy
Group=caddy
[Install]
WantedBy=multi-user.target
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。