Merge pull request 'Add supervisor cfg' (#4) from add-supervisor-cfg into master

Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/4
This commit is contained in:
dsc 2020-10-18 16:08:08 +00:00
commit 2bf56c64fd
1 changed files with 27 additions and 0 deletions

View File

@ -5,3 +5,30 @@ This is the back-end websocket server for Feather wallet.
- Python 3 asyncio
- Quart web framework
- 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"
```