mirror of
https://github.com/pockethost/pockethost.git
synced 2025-10-14 00:59:25 +00:00
fix: mothership process exit on pocketbase exit
This commit is contained in:
parent
0799d1e11b
commit
6dc7364d23
@ -20,6 +20,7 @@ import {
|
||||
PortService,
|
||||
} from '$services'
|
||||
import { LoggerService, LogLevelName } from '$shared'
|
||||
import { gracefulExit } from '$util'
|
||||
import EventSource from 'eventsource'
|
||||
// gen:import
|
||||
|
||||
@ -73,4 +74,7 @@ global.EventSource = EventSource
|
||||
],
|
||||
})
|
||||
info(`Mothership URL for this session is ${url}`)
|
||||
exitCode.then((c) => {
|
||||
gracefulExit(c)
|
||||
})
|
||||
})()
|
||||
|
Loading…
x
Reference in New Issue
Block a user