From b3ff004393aa8ead2a75c195c247228e97cccacf Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 24 Jun 2024 06:46:35 -0700 Subject: docs(readme): add dynamic mode information --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 304e6c2..8e09278 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ Gigi is configured through the `./gigi` directory. Dynamic response mode is disabled by default in [`gigi.c`](./gigi.c) because it is very unsafe. If you wish to live on the edge, uncomment the -`GIGI_DYNAMIC` macro. +`GIGI_DYNAMIC` macro. Dropping Gigi into a container is significantly safer +than running it on a host machine, so consider that as an option, too. Dynamic mode runs any and all executables located at the path `./gigi/do`, and passes any arguments from the Finger request to the executable. @@ -37,6 +38,9 @@ Static mode is enabled by default. A Finger request for `test` will return the contents of `./gigi/test`. A Finger request of nothing will return the contents of `./gigi/default`. +To emulate dynamic mode, minus the arguments you can setup a service of some +kind to periodically update the contents of one of the static files. + ## Licence This project is licensed with the [GNU General Public License v3.0](./LICENSE). -- cgit v1.2.3