我要评分
获取效率
正确性
完整性
易理解

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:

  • root user
    systemctl start/stop/restart/status gunicorn_framework
    systemctl start/stop/restart/status gunicorn_plugin
    systemctl start/stop/restart/status devkit_nginx
    systemctl start/stop/restart/status java_perf
  • Common user
    bash /home/test01/DevKit/tools/service_management.sh start/stop/restart/status gunicorn_framework
    bash /home/test01/DevKit/tools/service_management.sh start/stop/restart/status gunicorn_plugin
    bash /home/test01/DevKit/tools/service_management.sh start/stop/restart/status devkit_nginx
    bash /home/test01/DevKit/tools/service_management.sh start/stop/restart/status java_perf
  • Replace the example installation directory /home/test01 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.