smswhatsappservice/whatsapp-service.service

18 lines
544 B
SYSTEMD
Raw Permalink Normal View History

2026-09-20 13:27:37 +00:00
[Unit]
Description=WhatsApp SMS Service Gunicorn Daemon
After=network.target
[Service]
User=ubuntu
Group=www-data
WorkingDirectory=/home/ubuntu/smswhatsappservice
ExecStart=/home/ubuntu/smswhatsappservice/venv/bin/gunicorn \
--access-logfile /home/ubuntu/smswhatsappservice/logs/gunicorn-access.log \
--error-logfile /home/ubuntu/smswhatsappservice/logs/gunicorn-error.log \
--workers 3 \
--bind 127.0.0.1:8081 \
2026-09-20 13:27:37 +00:00
whatsapp_service_project.wsgi:application
[Install]
WantedBy=multi-user.target