This commit is contained in:
parent
f984f1e41e
commit
41bef3b7b6
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue