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 |
1 | cd /opt/DevKit/tools&&./docker_service.sh start/stop/restart/status gunicorn_plugin |