Update README.md
All checks were successful
/ test (push) Successful in 4s

This commit is contained in:
phil 2024-12-02 16:55:51 +00:00
parent f984f1e41e
commit 41bef3b7b6

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