06/15 Phase 1 + 2 codes

This commit is contained in:
2026-06-15 11:23:05 -04:00
commit c2064b84b4
62 changed files with 2937 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
[Unit]
Description=Classifieds Flask app (Gunicorn)
After=network.target mysql.service redis-server.service
Wants=redis-server.service
[Service]
Type=notify
User=classifieds
Group=classifieds
WorkingDirectory=/opt/classifieds
Environment="PATH=/opt/classifieds/venv/bin"
EnvironmentFile=/opt/classifieds/.env
RuntimeDirectory=classifieds
ExecStart=/opt/classifieds/venv/bin/gunicorn -c deploy/gunicorn.conf.py wsgi:app
ExecReload=/bin/kill -s HUP $MAINPID
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target