Linux后台启动了一个服务,但是退出命令终端后或者退出xshell后,服务就关闭了,要想保持后台服务一直启动,可以使用下面的命令来启动服务 #nohup python3.6 /opt/testmanage/WebDevelop/Flask/SsjApiPlat2/run.py & 其中nohup和&中间是启动服务的命令 例如:nohup python3 manage.py rinserver 0.0.0.0:8000 & 启动linux部署的django项目 相关文章: