Starting, Stopping, Restarting or Querying Services
CentOS 7.x/CentOS 8.x/EulerOS/openEuler/RHEL 7.x/NeoKylin/Kylin/BC-Linux/iSoft/SUSE/Debian/Ubuntu/Deepin/Linx/UOS:
- Start the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
systemctl start devkit_nginx
- Stop the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
systemctl stop devkit_nginx
- Restart the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
systemctl restart devkit_nginx
- Query the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
systemctl status devkit_nginx
- If you run a command on the server to restart a service, refresh the front-end page to display the updated task information.
- If the tool is installed in a container, you can run docker_service.sh to restart the service, such as devkit_nginx. (Replace the example directory /opt with the actual tool installation directory.)
bash /opt/DevKit/tools/docker_service.sh restart devkit_nginx
Parent topic: Common Operations