[Unit]
Description=Troubleshoot Web Service
After=network.target

[Service]
Type=simple
User=ubains
WorkingDirectory=/opt/troubleshoot/web
ExecStart=/usr/bin/python3 /opt/troubleshoot/web/server.py
Restart=always
RestartSec=5
Environment=PYTHONIOENCODING=utf-8

[Install]
WantedBy=multi-user.target