From 93b184cccad10bf5d92c4469fc10fd1c0af70196 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 15 Oct 2025 11:58:48 -1000 Subject: [PATCH] ;tools: just site-restart --- Justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Justfile b/Justfile index 46592c46d..7144a9d6c 100644 --- a/Justfile +++ b/Justfile @@ -794,6 +794,10 @@ LOCALSITEURL := 'http://localhost:3000/index.html' make -C site snapshot-{{ VER }} echo "{{ VER }} manuals created. Please add the new version to site.js, Makefile, and hledger.org.caddy." +# restart hledger.org's caddy server, after config changes +site-restart: + osh -i -c 'hledgerorgssh systemctl restart caddy' + STACKHADDOCK := 'time ' + STACK + ' --verbosity=error haddock --fast --no-keep-going \ --only-locals --no-haddock-deps --no-haddock-hyperlink-source \ --haddock-arguments="--no-warnings" \