Initial commit: Notes Manager App (notes.braetter-int.de)
- Python/Flask Backend - SQLAlchemy Models (notes, tasks, templates, users) - Gunicorn + Nginx Deploy-Konfiguration - Static Assets (CSS/JS) - Jinja2 Templates
This commit is contained in:
15
deploy/notesmanager.service
Executable file
15
deploy/notesmanager.service
Executable file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=NotesManager Gunicorn Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/opt/notesmanager
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/opt/notesmanager/.venv/bin/gunicorn -c /opt/notesmanager/gunicorn.conf.py run:app
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user