adding the service files and and a script to gather them
This commit is contained in:
17
systemd/gunicorn.service
Normal file
17
systemd/gunicorn.service
Normal 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
|
||||
Reference in New Issue
Block a user