paymentservice/paymentservice.service

17 lines
491 B
SYSTEMD
Raw Normal View History

[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