启动/停止/重启/查询服务
CentOS 7.x/CentOS 8.x/EulerOS/openEuler/RHEL 7.x/中标麒麟/麒麟/BC-Linux/iSoft/SUSE/Debian/Ubuntu/深之度/凝思/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 |
如果是在容器中安装工具,命令如下(“/opt/DevKit”为工具安装目录,请根据实际情况替换):
启动/停止/重启/查询nginx:
1 | cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status devkit_nginx |
启动/停止/重启/查询gunicorn:
1 | cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status gunicorn_framework |
cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status gunicorn_plugin
父主题: 常用操作