2026-10-15 14:03:27 +00:00
|
|
|
[Unit]
|
|
|
|
|
Description=Beta Document Verification Backend Service
|
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
User=ubuntu
|
|
|
|
|
Group=ubuntu
|
|
|
|
|
WorkingDirectory=/home/ubuntu/beta-documentverification
|
2026-10-15 15:27:55 +00:00
|
|
|
ExecStart=/home/ubuntu/beta-documentverification/venv/bin/gunicorn --workers 3 --bind 127.0.0.1:8092 --access-logfile /home/ubuntu/beta-documentverification/logs/gunicorn-access.log --error-logfile /home/ubuntu/beta-documentverification/logs/gunicorn-error.log --capture-output docverify.wsgi:application
|
2026-10-15 14:03:27 +00:00
|
|
|
Restart=always
|
|
|
|
|
RestartSec=3
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|