Description: Instructs the supervisor daemon to restart a registered process.
Subscribers: ProcessHandler
{"key":"process.restart"}
Parameter
Type
Required
Description
name
string
✔️
Name of the process.
Example:
{"key":"process.restart","name":"webservice"}
Response
Description: Raises an event that contains an error field if the process exited with an error code, otherwise it's just the same as the original request.
Subscribers: DeployHandler
{"key":"process.restart"}
Parameter
Type
Required
Description
name
string
✔️
Name of the process.
error
string
Error message from the supervisor daemon.
Example:
{"key":"process.restart","name":"webservice"}
Delete Page
Deleting the wiki page "process.restart" cannot be undone. Continue?