Add production deployment configuration for server 104.225.217.215:5237
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user