#!/bin/bash
# xxxx 为指定的screen session number,下面的命令是进入指定screen后,执行gunicorn -c gunicorn.py wsgi:application --preload 命令
screen -rD xxxx -p 0 -X stuff "gunicorn -c gunicorn.py wsgi:application --preload
通过Shell脚本进入Screen并执行命令
最新推荐文章于 2024-04-28 12:37:47 发布