![]() |
![]()
| ![]() |
![]()
OpenXPKI::ControlThis is a static helper class that collects some common methods to interact with the OpenXPKI system. Parameters common to all methods: All methods are static and return 0 on success, 1 on configuration errors and 2 on system errors. All Parameters to methods are optional, if no parameters are given the OpenXPKI::Config Layer is intanciated and queried for the needed values. start {CONFIG, SILENT, PID, FOREGROUND, DEBUG, KEEP_TEMP}Start the server. Parameters:
stopStop the server Parameters: statusCheck if the server is running Parameters:
reloadReload some parts of the config (sends a HUP to the server pid) Parameters: get_pidsGet a list of all process belonging to this instance Returns a hash with keys:
list_processGet a list of all running workers with pid, time and info
|