Commit 7dc23b18 authored by Geno's avatar Geno Committed by Matt Holt

Init switch from HOME to Caddy (#1272)

* INIT-systemd use CADDYPATH instatt of HOME

* INIT-upstart use CADDYPATH instatt of HOME

* INIT-upstart use CADDYPATH instatt of HOME

* INIT-upstart use CADDYPATH instatt of HOME
parent 9d398adf
......@@ -12,7 +12,7 @@ User=www-data
Group=www-data
; Letsencrypt-issued certificates will be written to this directory.
Environment=HOME=/etc/ssl/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
......
......@@ -14,7 +14,7 @@ respawn limit 10 5
reload signal SIGUSR1
# Let's Encrypt certificates will be written to this directory.
env HOME=/etc/caddy
env CADDYPATH =/etc/caddy
limit nofile 1048576 1048576
......
......@@ -17,7 +17,7 @@ respawn limit 10 5
reload signal SIGUSR1
# Let's Encrypt certificates will be written to this directory.
env HOME=/etc/caddy
env CADDYPATH=/etc/caddy
limit nofile 1048576 1048576
......
......@@ -15,7 +15,7 @@ respawn limit 10 5
#reload signal SIGUSR1
# Let's Encrypt certificates will be written to this directory.
env HOME=/etc/caddy
env CADDYPATH=/etc/caddy
limit nofile 1048576 1048576
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment