From b83df70e21175ebcf23fb3ad160d52936acc34d7 Mon Sep 17 00:00:00 2001 From: Catalin Constantin Mititiuc Date: Fri, 6 Mar 2026 13:42:34 -0800 Subject: [PATCH] Update README with TSL cert renewal instructions --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index e015f29..312b645 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,34 @@ SSH into server admin account and run: $ cd www $ dehydrated --config config -c +Then restart the OpenResty service: + + $ sudo service openresty restart + +#### automate TSL cert renewal + +##### renew TSL certs + +Open crontab: + + $ crontab -e + +Add the following line, then save and exit: + + 19 4 1 * * /usr/bin/dehydrated --config /var/www/config --cron >/dev/null 2>&1 + +##### restart service + +Open root's crontab: + + $ sudo crontab -e + +Add the following line: + + @monthly /usr/bin/systemctl restart openresty.service + +Save and exit. + ## gotchas ### What is error `cosmo failed: [string "..."]:62: cannot resume dead coroutine`? @@ -119,3 +147,11 @@ Delete your `.sitegen_cache` file. * use sitecache with pandoc renderer * draft documents * treesitter highlighting for moonscript + +## todo + +* destroy a target ship by shooting them with the cannon +* make corners not bouncy (leave them bouncy for now?) +* wall entities +* ship-ship collision +* make ssh command?