Files
yingqing/scripts/webhook/airshelf-webhook.service
T

17 lines
403 B
Desktop File

[Unit]
Description=AirShelf Gitea deploy webhook
After=network.target docker.service
[Service]
Type=simple
Environment=WEBHOOK_SECRET=CHANGE_ME
Environment=WEBHOOK_HOST=127.0.0.1
Environment=WEBHOOK_PORT=9000
Environment=DEPLOY_SH=/opt/AirShelf/scripts/deploy-dev.sh
ExecStart=/usr/bin/python3 /opt/AirShelf/scripts/webhook/receiver.py
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target