From 6163bc5518257978f9b2a3cdad7ec6b2c9157e36 Mon Sep 17 00:00:00 2001 From: self Date: Mon, 21 Aug 2023 13:36:12 -0700 Subject: [PATCH] add more details to README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 768cead..c185d4a 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,11 @@ If you have `nix-direnv`, these commands will be available in your shell after it finishes a build. Otherwise, run `nix develop` to kick off a build, and the resulting shell will have all of these commands available. +Deployment hosts are very thin and don't have a lot of commands available, so +use `nix run nixpkgs#` in an SSH session where `` is the +command you'd like to run in order to have Nix pull in and run a command line +program. + - `deploy-these`: Kick off a deployment to the host `these`. Any arguments are passed to `nixos-rebuild`. - `deploy-more`: Same as above for `more`. @@ -63,3 +68,13 @@ resulting shell will have all of these commands available. in that file with the currently configured encryption keys. Will definitely need to be run by someone who previously has access to the secrets in order to succeed. + +## Services + +These can be administrated via `systemctl` and monitored via `journalctl` or +your chosen log monitoring software. + +- `lemmy-prod`: The production Lemmy server. +- `lemmy-ui-prod`: The Web frontend to the production Lemmy server. +- `lemmy-dev`: The development Lemmy server. +- `lemmy-ui-dev`: The Web frontend to the development Lemmy server. -- 2.44.1