[Unit] Description=Customer Website Backend Service After=network.target [Service] User=ubuntu WorkingDirectory=/home/ubuntu/customer_website_backend EnvironmentFile=/home/ubuntu/customer_website_backend/.env ExecStart=/home/ubuntu/customer_website_backend/venv/bin/gunicorn customerwebsitebackend.wsgi:application \ --bind 0.0.0.0:8082 \ --workers 3 \ --access-logfile /home/ubuntu/customer_website_backend/logs/gunicorn-access.log \ --error-logfile /home/ubuntu/customer_website_backend/logs/gunicorn-error.log \ --log-level info \ --capture-output Restart=always RestartSec=5 [Install] WantedBy=multi-user.target