14 lines
351 B
Desktop File
14 lines
351 B
Desktop File
[Unit]
|
|||
|
|
Description=Webhook listener for Thor deploys
|
||
|
|
After=network-online.target
|
||
|
|
Wants=network-online.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
User=webhook
|
||
|
|
Group=webhook
|
||
|
|
ExecStart=/usr/bin/webhook -hooks /etc/webhook/hooks.json -port 9000 -verbose
|
||
|
|
Restart=always
|
||
|
|
# No NoNewPrivileges here: the hook runs the deploy script through sudo.
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|