Merge branch 'main'
Some checks failed
/ test (push) Failing after 4s

This commit is contained in:
phil 2024-12-02 18:08:39 +01:00
commit d5fee1dcdc

View file

@ -57,9 +57,10 @@ sms-handler --port 80125 --host 192.168.100.55
### As a daemon (Systemd)
Create a service as follows.
Pass the settings for the web server (listen address, port) in the ExecStart statement,
and the parameters as `Environment=SMS_HANDLER_MAIL_SERVER_START_TLS=yes`.
Create a service as below, adapt the email addresses (`snoopy@peanuts.com` in this example).
Settings for the web server (listen address and port) are given in the ExecStart statement.
Other parameters are given as environment variables (see above).
```systemd
[Unit]
@ -101,7 +102,7 @@ git clone https://philo.ydns.eu/code/Philome/sms-handler.git
cd sms-handler
uv venv
uv sync
. .venv/bin/activate
. .venv/bin/activate # for bash. For fish: . .venv/bin/activate.fish
pytest -s tests/basic.py
```