grgr.me

latest commits to https://grgr.me/
Log | Files | Refs

commit 424323fa54f95dd87bc977048a7e280df9a5cf97
parent cbf81dd84da0acbd3f13b3b6709cb21473963866
Author: corndog <cauchyn@firemail.cc>
Date:   Sat, 12 Nov 2016 23:04:03 -0800

After git pull, use new Caddyfile w/o restart

Accomplishes this by getting PID of Caddy process
on startup and makes use of the defined SIGUSR1.
We confirm the Caddyfile is good before
proceeding, expecting Caddy to abort normally.

Diffstat:
Caddyfile | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/Caddyfile b/Caddyfile @@ -1,5 +1,6 @@ grgr.me { root ./out + startup export CADDY_PID=$$ redir 303 { /PGP /V6eHU.txt /pgp /V6eHU.txt @@ -14,6 +15,7 @@ grgr.me { git git@gitlab.com:corndog/grgr.me.git ../ { key /home/ervin/.ssh/id_dropbear hook /uguu + then caddy && kill -USR1 $CADDY_PID } minify gzip