System Class
Constructor
System
(
-
pb
Parameters:
-
pb
ObjectThe PencilBlue namespace
Item Index
Methods
Properties
Methods
onStart
(
-
onChildRunning
Parameters:
-
onChildRunning
Function
registerSignalHandlers
(
-
[killProcess]
Registers signal handlers (SIGTERM, SIGINT) that will call shutdown when triggered
Parameters:
-
[killProcess]
Boolean optionalWhen TRUE or not provided the variable instructs the handlers to kill off the process in addition to shutting down PencilBlue services
shutdown
(
-
[killProcess=true]
Calls shutdown on all registered system services and kills the process
Parameters:
-
[killProcess=true]
Boolean optional