fix gitignore and default BIND address in service file
This commit is contained in:
parent
5be06f2f7d
commit
8641c9b372
4
.gitignore
vendored
4
.gitignore
vendored
@ -24,11 +24,11 @@ dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
#lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
#var/
|
||||
wheels/
|
||||
pip-wheel-metadata/
|
||||
share/python-wheels/
|
||||
|
12
build-deb/flaskapp/lib/systemd/system/flaskapp.service
Normal file
12
build-deb/flaskapp/lib/systemd/system/flaskapp.service
Normal file
@ -0,0 +1,12 @@
|
||||
[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 0.0.0.0:80 run:app
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user