paymentservice/paymentservice.service
vickytechkey 30576a9c6e
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 45s
feat: initialize Django payment service project structure, configurations, and CI/CD workflow
2026-10-18 20:55:45 +05:30

16 lines
491 B
Desktop File

[Unit]
Description=Tradhox Payment Service Microservice Daemon
After=network.target
[Service]
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu/paymentservice
ExecStart=/home/ubuntu/paymentservice/venv/bin/gunicorn --workers 3 --bind 0.0.0.0:8088 config.wsgi:application
Restart=always
RestartSec=5
StandardOutput=append:/home/ubuntu/paymentservice/logs/gunicorn-access.log
StandardError=append:/home/ubuntu/paymentservice/logs/gunicorn-error.log
[Install]
WantedBy=multi-user.target