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?