treehouse/admin/README.md

11 lines
523 B
Markdown
Raw Normal View History

2023-08-27 21:59:49 +02:00
# `admin`
Bunch of scripts I use to administrate the treehouse at <https://liquidex.house>.
2024-02-06 20:12:12 +01:00
The full setup is:
2023-08-27 21:59:49 +02:00
2024-02-06 20:12:12 +01:00
- 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.