mirror of
https://github.com/TrentSPalmer/todo_app_flask.git
synced 2024-12-22 03:52:49 -08:00
15 lines
281 B
Desktop File
15 lines
281 B
Desktop File
[Unit]
|
|
Description=Todo Application
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=todo
|
|
Group=todo
|
|
WorkingDirectory=/var/lib/todo
|
|
Environment=FLASK_DEBUG=0
|
|
ExecStart=/usr/bin/gunicorn3 --access-logfile '-' -b 127.0.0.1:8300 -w 1 todo:app
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|