[Unit] Description=RuoYi Webhook Deploy Service After=network.target [Service] Type=simple User=root WorkingDirectory=/opt/ruoyi ExecStart=/usr/bin/python3 /opt/ruoyi/deploy/webhook.py Restart=always RestartSec=10 StandardOutput=append:/opt/ruoyi/webhook.log StandardError=append:/opt/ruoyi/webhook.log [Install] WantedBy=multi-user.target