grgr.me

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

commit 27d19c05cbc445e80c225331116d8587bd37dc7b
parent d9217ab931058cd4c8ec7284d6a7112c7efae1bd
Author: corndog <cauchyn@firemail.cc>
Date:   Sun, 13 Nov 2016 00:45:00 -0800

Okay for real this time.

If the then hook failed, Caddy exits.

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

diff --git a/Caddyfile b/Caddyfile @@ -15,8 +15,8 @@ grgr.me { git git@gitlab.com:corndog/grgr.me.git ../ { key /home/ervin/.ssh/id_dropbear hook /uguu - then sh -c "export CADDY_COUNT=$(( $CADDY_COUNT + 1 )) && - test $CADDY_COUNT -ge 2 && /usr/local/bin/caddy && kill -USR1 $CADDY_PID" + then sh -c "export CADDY_COUNT=$(( $CADDY_COUNT + 1 )) && test $CADDY_COUNT -ge 2 && \ + /usr/local/bin/caddy && kill -USR1 $CADDY_PID || echo OK" } minify gzip