mirror of
https://git.wownero.com/wowlet/wowlet-backend.git
synced 2024-08-15 01:03:13 +00:00
Add supervisor cfg
Signed-off-by: dsc <dsc@xmr.pm>
This commit is contained in:
parent
38e192ab5a
commit
6111cb008a
1 changed files with 27 additions and 0 deletions
27
README.md
27
README.md
|
@ -5,3 +5,30 @@ This is the back-end websocket server for Feather wallet.
|
||||||
- Python 3 asyncio
|
- Python 3 asyncio
|
||||||
- Quart web framework
|
- Quart web framework
|
||||||
- Redis
|
- Redis
|
||||||
|
|
||||||
|
|
||||||
|
### Supervisor
|
||||||
|
|
||||||
|
Example config.
|
||||||
|
|
||||||
|
```text
|
||||||
|
[program:ws]
|
||||||
|
directory=/home/feather/feather-ws
|
||||||
|
command=/home/feather/feather-ws/venv/bin/python run.py
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
startsecs=6
|
||||||
|
stdout_logfile=/home/feather/feather-ws/stdout.log
|
||||||
|
stdout_logfile_maxbytes=1MB
|
||||||
|
stdout_logfile_backups=10
|
||||||
|
stdout_capture_maxbytes=1MB
|
||||||
|
stderr_logfile=/home/feather/feather-ws/stderr.log
|
||||||
|
stderr_logfile_maxbytes=1MB
|
||||||
|
stderr_logfile_backups=10
|
||||||
|
stderr_capture_maxbytes=1MB
|
||||||
|
user = feather
|
||||||
|
environment=
|
||||||
|
HOME="/home/feather",
|
||||||
|
USER="feather",
|
||||||
|
PATH="/home/feather/feather-ws/venv/bin"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue