added linux-amd64
parent
b9f310d461
commit
c9ff56881e
Binary file not shown.
|
@ -10,6 +10,7 @@
|
|||
# Caddyfile next time the service is restarted. If you intend to
|
||||
# use Caddy's API to configure it, add the --resume flag to the
|
||||
# `caddy run` command or use the caddy-api.service file instead.
|
||||
# use sed to get caddy directory at install
|
||||
|
||||
[Unit]
|
||||
Description=Caddy
|
||||
|
@ -17,12 +18,13 @@ Documentation=https://caddyserver.com/docs/
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
# base directory must be hard coded
|
||||
User=caddy
|
||||
Group=caddy
|
||||
EnvironmentFile=/opt/caddy/env/AWS
|
||||
WorkingDirectory=/opt/caddy
|
||||
ExecStart=/opt/caddy/caddy run --environ --config /opt/caddy/conf/%i.conf --adapter=caddyfile
|
||||
ExecReload=/opt/caddy/caddy reload --config /opt/caddy/conf/%.conf --adapter=caddyfile
|
||||
ExecStart=
|
||||
|
||||
ExecReload=/opt/caddy/scripts/caddy reload --config /opt/caddy/conf/%.conf --adapter=caddyfile
|
||||
TimeoutStopSec=5s
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=512
|
||||
|
|
Loading…
Reference in New Issue