Add production deployment configuration for server 104.225.217.215:5237

This commit is contained in:
Iyeoluwa Akinrinola
2025-07-25 11:53:34 +01:00
parent 8df9e0d07c
commit 6dc5773943
5 changed files with 142 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Email Alerts Application
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/email_alerts
Environment=PATH=/root/email_alerts/venv/bin
ExecStart=/root/email_alerts/venv/bin/python /root/email_alerts/run_server.py
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target