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