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:
1 2 3 | systemctl start/stop/restart/status devkit_nginx systemctl start/stop/restart/status gunicorn_framework systemctl start/stop/restart/status gunicorn_plugin |
If the tool is installed in a container, related commands are as follows (/opt/DevKit is the tool installation directory. Replace it with the actual directory.):
Start, stop, restart, or query Nginx:
1 | cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status devkit_nginx |
Start, stop, restart, or query Gunicorn:
1 | cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status gunicorn_framework |
1 | cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status gunicorn_plugin |
Parent topic: Common Operations