Change how gunicorn runs this.

This commit is contained in:
Wim Pomp
2022-08-30 13:37:50 +02:00
parent 50b2d12f54
commit 4d94b8a0a8
3 changed files with 2 additions and 5 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.wsgi:application
ExecStart=/usr/local/bin/gunicorn --bind unix:/tmp/matlabhub.sock matlabhub.app:app
ExecStop=/bin/kill -s STOP $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
TimeoutSec=0