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:
- root user
systemctl start devkit_nginx
- Common users
bash /home/test01/DevKit/tools/service_management.sh start devkit_nginx
- root user
- Stop the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
- root user
systemctl stop devkit_nginx
- Common users
bash /home/test01/DevKit/tools/service_management.sh stop devkit_nginx
- root user
- Restart the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
- root user
systemctl restart devkit_nginx
- Common users
bash /home/test01/DevKit/tools/service_management.sh restart devkit_nginx
- root user
- Query the gunicorn_framework/gunicorn_plugin/devkit_nginx service. The following uses devkit_nginx as an example:
- root user
systemctl status devkit_nginx
- Common users
bash /home/test01/DevKit/tools/service_management.sh status devkit_nginx
- root user
- /home/test01: Replace the example installation directory with the actual one.
- 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 service_management.sh to manage the service based on the installation method for a common user.
Parent topic: Common Operations