aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2025-05-18 10:14:43 -0400
committerPaul Duncan <pabs@pablotron.org>2025-05-18 10:14:43 -0400
commit6a0d17b58716cbdaf8c802c3bd6b7ead8dcd488f (patch)
tree371ccecc9c491d0366994e549b2514364008523b
parent5c2989172f3b4371a567f3fac061cdf59c0f96ea (diff)
downloadpablotron.org-6a0d17b58716cbdaf8c802c3bd6b7ead8dcd488f.tar.xz
pablotron.org-6a0d17b58716cbdaf8c802c3bd6b7ead8dcd488f.zip
bin/hook/etc/webhook.service: s/RunAs/User/, remove old debian/ubuntu comment
-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