feat: re- ingest/index on SIGUSR1/2
1 file changed, 7 insertions(+), 3 deletions(-)
changed files
M docs/running.md → docs/running.md
@@ -2,14 +2,14 @@ # Running an instance ## Requirements: -- 400MiB disk space +- 2GiB disk space - ~100MiB RAM (requires setting `Importer.LowMemory = true`) -This [repository](https://git.alanpearce.eu/searchix) (or its [codeberg mirror](https://codeberg.org/alanpearce/searchix)) is importable as a flake containing a NixOS module. +This [repository](https://git.alin.ovh/searchix) (or its [codeberg mirror](https://codeberg.org/alanpearce/searchix)) is importable as a flake containing a NixOS module. ```nix { - inputs.searchix.url = "git+https://git.alanpearce.eu/searchix"; + inputs.searchix.url = "git+https://git.alin.ovh/searchix"; # or inputs.searchix.url = "git+https://codeberg.org/alanpearce/searchix";@@ -42,3 +42,7 @@ }; ``` Where `settings` complies with [NixOS RFC 42 (settings options)](https://github.com/NixOS/rfcs/pull/42); see the [default values](../defaults.toml) for reference. + +## Maintenance + +Whilst the service is running, a `SIGUSR1` will cause a complete re-import and a `SIGUSR2` will cause a re-index.