taskmanager/build-deb/flaskapp/lib/systemd/system/freeriders.service

13 lines
266 B
SYSTEMD
Raw Normal View History

2023-10-20 13:20:56 +00:00
[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