From 1bd3e7df001d3ea0b0812e5097faf3d988549312 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 12 Jan 2022 10:11:02 +0100 Subject: [PATCH] some comment --- backend/src/webhook/github.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/webhook/github.ts b/backend/src/webhook/github.ts index d7186bb10..e0887c543 100644 --- a/backend/src/webhook/github.ts +++ b/backend/src/webhook/github.ts @@ -21,6 +21,7 @@ export const githubWebhook = async (req: any, res: any): Promise => { const child = spawn(path.join(__dirname, '../../../deployment/bare_metal/start.sh'), [ CONFIG.WEBHOOK_GITHUB_BRANCH, ]) + // detach process to allow killing of parent process in the update script child.unref() } }