From 0c95f66782782f9390e07824ae481a0e9a730df4 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 10 May 2022 18:21:49 +0530 Subject: [PATCH 1/2] Docs: Add instructions to run IM as service on boot through the AppImage --- docs/content/setup/linux.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/content/setup/linux.md b/docs/content/setup/linux.md index 4473a5fd9..2b7159c34 100644 --- a/docs/content/setup/linux.md +++ b/docs/content/setup/linux.md @@ -46,6 +46,18 @@ do, see the [FAQ]({{< ref >}}) for more information. {{% /notice %}} +## Running the Infection Monkey as a service on boot + +To install the Infection Monkey as a service and run it on boot, run the AppImage package with these parameters: +```bash +./InfectionMonkey-v1.13.0.AppImage service --install --user +``` + +To uninstall it, run: +```bash +./InfectionMonkey-v1.13.0.AppImage service --uninstall +``` + ## Configuring the server You can configure the server by creating From 7e997b54035e37a2b3ac9f27a02cb00e20bc6be2 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 11 May 2022 13:32:35 +0530 Subject: [PATCH 2/2] Docs: Add instructions about root permissions for AppImage systemd unit installation --- docs/content/setup/linux.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/setup/linux.md b/docs/content/setup/linux.md index 2b7159c34..71e0345a0 100644 --- a/docs/content/setup/linux.md +++ b/docs/content/setup/linux.md @@ -48,7 +48,9 @@ do, see the [FAQ]({{< ref ## Running the Infection Monkey as a service on boot -To install the Infection Monkey as a service and run it on boot, run the AppImage package with these parameters: +The Infection Monkey can be installed as a service and run on boot by running the AppImage package +with the following parameters. This requires root permissions, so run `sudo -v` and enter your +password before running the script, if required. ```bash ./InfectionMonkey-v1.13.0.AppImage service --install --user ```