import { Pup } from "https://deno.land/x/pup@1.0.0-rc.9/lib/core/pup.ts";
Properties
Performs periodic maintenance tasks in Pup.
Purges logs and state information older than the specified keepHours
.
This method is scheduled to run every hour.
Watchdog function that manages process lifecycle events like auto-start, restart, and timeouts.
This is intended to be called by global unload event and clears any stray files
configuration: Configuration
events: EventEmitter
optional
ipc: FileIPClogger: Logger
plugins: Plugin[]
status: Status
Methods
private
handleInstruction(message: IpcValidatedMessage)private
pluginHook(signal: string, args: unknown): booleanprivate
processIpcMessage(message: IpcValidatedMessage)private
receiveData()private
registerGlobalErrorHandler()allProcesses(): Process[]
block(id: string, requestor: string): boolean
restart(id: string, requestor: string): boolean
start(id: string, requestor: string): boolean
stop(id: string, requestor: string): Promise<boolean>
terminate(forceQuitMs: number)
unblock(id: string, requestor: string): boolean
Static Methods
init(unvalidatedConfiguration: unknown, configFilePath?: string)