[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