13 lines
266 B
Desktop File
13 lines
266 B
Desktop File
[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
|
|
|