aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--shared/server-commands/server/server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts
index c8f6a0c5b..598b7beed 100644
--- a/shared/server-commands/server/server.ts
+++ b/shared/server-commands/server/server.ts
@@ -250,7 +250,7 @@ export class PeerTubeServer {
250 const forkOptions = { 250 const forkOptions = {
251 silent: true, 251 silent: true,
252 env, 252 env,
253 detached: true, 253 detached: false,
254 execArgv 254 execArgv
255 } 255 }
256 256
@@ -317,7 +317,7 @@ export class PeerTubeServer {
317 kill () { 317 kill () {
318 if (!this.app) return Promise.resolve() 318 if (!this.app) return Promise.resolve()
319 319
320 process.kill(-this.app.pid) 320 process.kill(this.app.pid)
321 321
322 this.app = null 322 this.app = null
323 323