mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 10:37:02 +05:30
caddy: Use envfile for credentials
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
b36f785eae
commit
63a6d86783
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Group=caddy
|
|||
Environment=CADDYPATH=/etc/ssl/caddy
|
||||
|
||||
; Always set "-root" to something safe in case it gets forgotten in the Caddyfile.
|
||||
ExecStart=/usr/local/bin/caddy -log stdout -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp
|
||||
ExecStart=/usr/local/bin/caddy -log stdout -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp -envfile /etc/caddy/env
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
|
||||
; Use graceful shutdown with a reasonable timeout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue