aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-11-19 17:48:34 +0530
committerGitHub <[email protected]>2025-11-19 17:48:34 +0530
commit8985290a5f0f34e780be8ed23e18430a4a4a997f (patch)
tree922d2a1fc666dd5e95febf475f6e24b7076178ae
parent18249402d6ff0faceab30f746fcd6b6c764c727f (diff)
downloadcgitconf-8985290a5f0f34e780be8ed23e18430a4a4a997f.tar.xz
cgitconf-8985290a5f0f34e780be8ed23e18430a4a4a997f.zip
Add systemd service for GitHub Webhook Server
-rw-r--r--systemd/github-webhook.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/github-webhook.service b/systemd/github-webhook.service
new file mode 100644
index 0000000..1a21a3d
--- /dev/null
+++ b/systemd/github-webhook.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=GitHub Webhook Server
+After=network.target
+
+[Service]
+ExecStart=/usr/local/bin/github-webhook-server
+Restart=always
+RestartSec=1
+User=root
+Environment=GODEBUG=http2server=0
+Environment="GITHUB_TOKEN=LMAO_NO_SECRETS_HERE"
+Environment="PATH=/usr/local/bin:/usr/bin:/bin"
+
+[Install]
+WantedBy=multi-user.target