caddy: add $OPTS to the service

This commit is contained in:
Michal Vasilek 2022-12-16 19:23:55 +01:00
parent a7edcba334
commit 0bd2c9bf3b
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@
export HOME=/var/lib/caddy
ulimit -n ${MAX_OPEN_FILES:-8192}
exec chpst -u caddy caddy run --config ${CONFFILE:-/etc/caddy/Caddyfile}
exec chpst -u caddy caddy run ${OPTS} --config ${CONFFILE:-/etc/caddy/Caddyfile}

View file

@ -1,7 +1,7 @@
# Template file for 'caddy'
pkgname=caddy
version=2.6.2
revision=1
revision=2
build_style=go
go_import_path=github.com/caddyserver/caddy/v2
go_package="${go_import_path}/cmd/caddy"