change service filename to flaskapp.service
This commit is contained in:
parent
5491b763ac
commit
fda6a996da
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Gunicorn flaskapp service
|
|
||||||
Documentation=man:gunicorn(1)
|
|
||||||
After=network.target nss-lookup.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
WorkingDirectory=/var/flaskapp/
|
|
||||||
ExecStart=/usr/bin/gunicorn --workers 3 --bind 127.0.0.1:5000 run:app
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user