mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-22 21:17:30 +00:00
[Debug] debug print error
This commit is contained in:
parent
a755882100
commit
ddd18e10e0
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# coding: utf-8
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
@ -6,7 +7,6 @@ import threading
|
||||
import time
|
||||
import argparse
|
||||
import sys
|
||||
import signal
|
||||
import io
|
||||
|
||||
from apps import __version__
|
||||
@ -146,6 +146,7 @@ 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