query-database/deploy/webhook/query-database-webhook.service
query-database 6208da9725 feat:更新
2026-03-27 15:52:00 +08:00

17 lines
366 B
Desktop File

[Unit]
Description=query-database deploy webhook
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=deploy
WorkingDirectory=/opt/query-database
ExecStart=/usr/local/bin/webhook -hooks /opt/query-database/deploy/webhook/hooks.json -port 9000 -ip 127.0.0.1 -hotreload
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target