mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-23 13:37:31 +00:00
[Debug] debug print error
This commit is contained in:
parent
a755882100
commit
ddd18e10e0
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# coding: utf-8
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
@ -6,7 +7,6 @@ import threading
|
|||||||
import time
|
import time
|
||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
import signal
|
|
||||||
import io
|
import io
|
||||||
|
|
||||||
from apps import __version__
|
from apps import __version__
|
||||||
@ -146,6 +146,7 @@ if __name__ == '__main__':
|
|||||||
choices=("all", "gunicorn", "celery", "beat"),
|
choices=("all", "gunicorn", "celery", "beat"),
|
||||||
help="The service to start",
|
help="The service to start",
|
||||||
)
|
)
|
||||||
|
print("开始执行")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
try:
|
try:
|
||||||
start_service(args.services)
|
start_service(args.services)
|
||||||
|
Loading…
Reference in New Issue
Block a user