add admin scripts over from treehouse
would be nice to rewrite these as a standalone utility that integrates with Nix someday i guess
This commit is contained in:
parent
be6a47ae13
commit
384e64009e
6 changed files with 64 additions and 0 deletions
12
admin/README.md
Normal file
12
admin/README.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# `admin`
|
||||
|
||||
Bunch of scripts I use to administrate the rkgk instance at <https://rkgk.app>.
|
||||
The full setup is:
|
||||
|
||||
- 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.
|
||||
|
||||
This is more or less the same setup as <https://liquidex.house>.
|
Loading…
Add table
Add a link
Reference in a new issue