update alerter article

This commit is contained in:
midas@devnull 2025-06-16 22:10:50 +02:00
parent 51b91f1623
commit 176ccc7526

View file

@ -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