From 452462369788266d31cebe5437269424c6188f5a Mon Sep 17 00:00:00 2001 From: lqdev Date: Tue, 6 Feb 2024 20:12:12 +0100 Subject: [PATCH] admin docs --- admin/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/README.md b/admin/README.md index 921d8a3..9414515 100644 --- a/admin/README.md +++ b/admin/README.md @@ -1,5 +1,10 @@ # `admin` Bunch of scripts I use to administrate the treehouse at . +The full setup is: -These scripts run remotely on the server and are triggered by a couple scripts on my local machine. +- A systemd service runs `daemon.bash` in a separate user. + - This script builds and runs the server. + - It also listens for `reload` commands being sent through a FIFO, which can be used to make the server rebuild and rerun. +- The `reload` command is sent by the `deploy.bash` script which runs on my own machine rather than the server. + - This script causes a `git pull` and a `reload` command to be run.