aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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