mirror of
https://github.com/TrentSPalmer/todo_app_flask.git
synced 2025-08-23 05:43:58 -07:00
initial commit
This commit is contained in:
14
todo.service
Normal file
14
todo.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[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
|
Reference in New Issue
Block a user