Skip to main content

Set termination flag

POST 

/system/services/active/:system_services_id/terminate

JSON-RPC

system.services.active.mark_terminate

The method sets terminate flag on the service. It will be processed by the "Tasks Scheduler" system service within the next run (typically within 1 minute). As a result SIGTERM signal will be sent to the process.

note

In the abnormal situation, where the process hanged and became a zombie, the signal may be not processed. In this case service may be terminated only via shell.

Request​

Responses​

Number of the affected rows.