rkgk/admin
liquidex 384e64009e add admin scripts over from treehouse
would be nice to rewrite these as a standalone utility that integrates with Nix someday i guess
2024-08-23 22:38:24 +02:00
..
daemon add admin scripts over from treehouse 2024-08-23 22:38:24 +02:00
daemon.bash add admin scripts over from treehouse 2024-08-23 22:38:24 +02:00
deploy.bash add admin scripts over from treehouse 2024-08-23 22:38:24 +02:00
README.md add admin scripts over from treehouse 2024-08-23 22:38:24 +02:00

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.