mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Don't run the server in detached state
This commit is contained in:
parent
8eb6a9eb2b
commit
18a2164366
@ -250,7 +250,7 @@ export class PeerTubeServer {
|
||||
const forkOptions = {
|
||||
silent: true,
|
||||
env,
|
||||
detached: true,
|
||||
detached: false,
|
||||
execArgv
|
||||
}
|
||||
|
||||
@ -317,7 +317,7 @@ export class PeerTubeServer {
|
||||
kill () {
|
||||
if (!this.app) return Promise.resolve()
|
||||
|
||||
process.kill(-this.app.pid)
|
||||
process.kill(this.app.pid)
|
||||
|
||||
this.app = null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user