aboutsummaryrefslogtreecommitdiff
path: root/bin/hook/etc/webhook.service
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hook/etc/webhook.service')
-rw-r--r--bin/hook/etc/webhook.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/hook/etc/webhook.service b/bin/hook/etc/webhook.service
index 20cd6bb..006fa35 100644
--- a/bin/hook/etc/webhook.service
+++ b/bin/hook/etc/webhook.service
@@ -4,11 +4,11 @@ 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
+# use -verbose to enable debugging
# 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
+
+User=webhook
[Install]
WantedBy=multi-user.target