mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
chore: Remove some of the bad logging
This commit is contained in:
@@ -137,7 +137,6 @@ export class Daemons<Manifest extends SDKManifest, Ids extends string> {
|
||||
}
|
||||
return {
|
||||
async term(options?: { signal?: Signals; timeout?: number }) {
|
||||
console.error("Bluj Daemons term")
|
||||
await Promise.all(
|
||||
Object.values<Promise<DaemonReturned>>(daemonsStarted).map((x) =>
|
||||
x.then((x) => x.term(options)),
|
||||
@@ -145,7 +144,6 @@ export class Daemons<Manifest extends SDKManifest, Ids extends string> {
|
||||
)
|
||||
},
|
||||
async wait() {
|
||||
console.error("Bluj Daemons wait")
|
||||
await Promise.all(
|
||||
Object.values<Promise<DaemonReturned>>(daemonsStarted).map((x) =>
|
||||
x.then((x) => x.wait()),
|
||||
|
||||
@@ -269,7 +269,6 @@ export const createUtils = <
|
||||
},
|
||||
async term({ signal = SIGTERM, timeout = NO_TIMEOUT } = {}) {
|
||||
const pids = pid ? await psTree(pid, overlay) : []
|
||||
console.error("Bluj killing pid ", pids)
|
||||
try {
|
||||
childProcess.kill(signal)
|
||||
|
||||
@@ -290,7 +289,6 @@ export const createUtils = <
|
||||
await overlay.destroy()
|
||||
}
|
||||
|
||||
console.error("Bluj actually killing pid ", pids)
|
||||
try {
|
||||
for (const process of pids) {
|
||||
await cp.execFile("kill", [`-${signal}`, String(process)])
|
||||
|
||||
Reference in New Issue
Block a user