fix systemd service

This commit is contained in:
j 2021-10-28 19:39:17 +01:00
parent bef19944f8
commit b640b06ed9
3 changed files with 3 additions and 1 deletions

1
app/static/html/404.html Normal file
View file

@ -0,0 +1 @@
not found

1
app/static/html/50x.html Normal file
View file

@ -0,0 +1 @@
failed

View file

@ -8,7 +8,7 @@ User=phantasma
Group=phantasma Group=phantasma
WorkingDirectory=/srv/phantasma WorkingDirectory=/srv/phantasma
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/srv/phantasma/venv/bin/gunicorn app.wsgi:application -p 8080 ExecStart=/srv/phantasma/venv/bin/gunicorn app.wsgi:application --reuse-port -b 127.0.0.1:8080
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target