supervisor ok

This commit is contained in:
2024-10-27 23:23:48 +03:00
parent 2460dc4e9a
commit 7892c12ec0
2 changed files with 7 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
conf.d
etc
*.out.log
__pycache__
venv
*.old

View File

@@ -1,8 +1,9 @@
[program:tello-server]
command=scripts/pull_from_origin.sh && export $(grep -v '^#' env | xargs) && venv/bin/python src/server/server.py
user=uad
command=/bin/bash -c 'scripts/pull_from_origin.sh && export $(grep -v '^#' env | xargs) && venv/bin/python src/server/server.py'
directory=/home/uad/tello-commander
autostart=true
autorestart=true
redirect_stderr=true
stderr_logfile=src/server/supervisor/tello-server.err.log
stdout_logfile=src/server/supervisor/tello-server.out.log
stderr_logfile=/home/uad/tello-commander/src/server/supervisor/tello-server.err.log
stdout_logfile=/home/uad/tello-commander/src/server/supervisor/tello-server.out.log