From 176ccc75269db69dff2e16beeb7e964f5925940c Mon Sep 17 00:00:00 2001 From: "midas@devnull" Date: Mon, 16 Jun 2025 22:10:50 +0200 Subject: [PATCH] update alerter article --- simplexalerts/index.md | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/simplexalerts/index.md b/simplexalerts/index.md index aa221a3..638f35c 100644 --- a/simplexalerts/index.md +++ b/simplexalerts/index.md @@ -7,9 +7,10 @@ tags: - Core Tutorial --- -# Anonymous Alerting System (via SimpleX) +# The case for alerting -As you know, [monitoring](../anonymous_server_monitoring/index.md) is important when running any kind of operations, especially so for clandestine ones. +As you know, [monitoring](../anonymous_server_monitoring/index.md) is important when running any kind of operations, especially so +for clandestine ones. ## Alert Types @@ -240,11 +241,8 @@ Run your client in server mode: This command will: - create two databases that your client uses for reconnecting to groups and interacting with the simpleX Network -- make sure that simplex routes all traffic through Tor (thanks to the -x argument) - set this client display name (what you will see in your groups when receiving alerts) -Once you are done, you can Ctrl-c as the DB will be used by the alerter container. - Ctrl-C once it is finished. @@ -496,21 +494,19 @@ To turn the simplex-chat and the alerter into systemd services, you only need to ## /etc/systemd/system/alerter.service -```sh -sudo vim /etc/systemd/system/alerter.service -sudo cat /etc/systemd/system/alerter.service - -[Unit] - -[Service] -ExecStart=docker run -p 127.0.0.1:7898:7898 -v /my/alerter/data:/alerterconfig --rm simplex-alerter - -[Install] -WantedBy=multi-user.target - +```text +vim /etc/systemd/system/alerter.service +cat /etc/systemd/system/xxx ``` + [Unit] + + [Service] + ExecStart=docker run -p 127.0.0.1:7898:7898 -v /my/alerter/data:/alerterconfig --rm simplex-alerter + + [Install] + WantedBy=multi-user.target ## Enable the services Now enable the services