Application Start and Stop
After the application is installed, the system automatically starts the application backend service and determines whether the application has started successfully by detecting whether the service port declared by the application is connectable. After the application starts, the working directory will be set to the data directory under the application installation directory.
When the application is stopped - either by a user action or by the system - the system sends a SIGTERM signal to the backend service process. It is recommended that the service process perform a graceful exit (save data, close connections, etc.) after receiving the signal and exit within 10 seconds. If the process has not exited after 10 seconds, the system will send SIGKILL to forcibly terminate it.