[Unit]
Description=Kuby Flask webhook service
After=network.target

[Service]
Type=simple
User=discord
WorkingDirectory=__KUBY_DIR__
Environment=PYTHONUNBUFFERED=1
ExecStart=__KUBY_DIR__/scripts/run_kuby_flask.sh
Restart=always
RestartSec=5
StandardOutput=append:/var/log/kuby/flask.log
StandardError=append:/var/log/kuby/flask.log

[Install]
WantedBy=multi-user.target
