fix systemd service
This commit is contained in:
parent
bef19944f8
commit
b640b06ed9
3 changed files with 3 additions and 1 deletions
1
app/static/html/404.html
Normal file
1
app/static/html/404.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
not found
|
1
app/static/html/50x.html
Normal file
1
app/static/html/50x.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
failed
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue