virtual environments

This commit is contained in:
Wim Pomp
2025-03-26 16:24:45 +01:00
parent 46ead90ce2
commit fdd80ad956
5 changed files with 53 additions and 35 deletions

View File

@@ -6,7 +6,7 @@ Wants=network-online.target
[Service]
User=matlab-user
Type=simple
ExecStart=/usr/local/bin/gunicorn --bind unix:/tmp/matlabhub.sock matlabhub.app:app
ExecStart=/opt/matlabhub/venv/bin/gunicorn --bind unix:/tmp/matlabhub.sock matlabhub.app:app
ExecStop=/bin/kill -s STOP $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
TimeoutSec=0