Files
drawlogo/deploy/drawlogo-webhook-deploy.service

13 lines
245 B
Desktop File

[Unit]
Description=画个标 Gitea Webhook 自动部署
After=network.target
[Service]
Type=simple
User=ubuntu
ExecStart=/usr/bin/python3 /opt/drawlogo/deploy/drawlogo-webhook.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target