aboutsummaryrefslogtreecommitdiff
path: root/bin/hook/etc/webhook.service
blob: 20cd6bb62d444c46263d3485f06bbe4811358c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Webhook daemon
After=network.target
ConditionPathExists=/etc/webhook.conf

[Service]
# debian/ubuntu version of webhook is comically old, so i'm using the static
# binary from the github releases page
# ExecStart=/usr/local/bin/webhook -port 9000 -hooks /etc/webhook.conf -urlprefix '' -verbose 
ExecStart=/usr/local/bin/webhook -port 9000 -hooks /etc/webhook.conf -urlprefix ''
RunAs=webhook

[Install]
WantedBy=multi-user.target