mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-27 19:17:01 +00:00
[Debug] debug print error
This commit is contained in:
parent
ddd18e10e0
commit
7558c2b3e4
@ -61,7 +61,7 @@ def start_gunicorn():
|
||||
cmd += log
|
||||
if DEBUG:
|
||||
cmd += " --reload"
|
||||
p = subprocess.Popen(cmd, shell=True, stdout=sys.stdout, stderr=sys.stderr)
|
||||
p = subprocess.call(cmd, shell=True, stdout=sys.stdout, stderr=sys.stderr)
|
||||
return p
|
||||
|
||||
|
||||
@ -146,7 +146,6 @@ if __name__ == '__main__':
|
||||
choices=("all", "gunicorn", "celery", "beat"),
|
||||
help="The service to start",
|
||||
)
|
||||
print("开始执行")
|
||||
args = parser.parse_args()
|
||||
try:
|
||||
start_service(args.services)
|
||||
|
Loading…
Reference in New Issue
Block a user