adding the service files and and a script to gather them

This commit is contained in:
2025-10-21 21:02:17 -05:00
parent 3d1d8a12d5
commit 283acd26c4
12 changed files with 169 additions and 0 deletions

17
systemd/gunicorn.service Normal file
View File

@@ -0,0 +1,17 @@
[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
User=westfarn
Group=www-data
WorkingDirectory=/home/westfarn/Documents/django_live_sites/Chat_Bot_Backend/llm_be
ExecStart=/home/westfarn/Documents/django_live_sites/Chat_Bot_Backend/venv/bin/gunicorn \
--access-logfile - \
--workers 3 \
--bind unix:/run/gunicorn.sock \
llm_be.wsgi:application
[Install]
WantedBy=multi-user.target