[Debug] debug print error

pull/828/merge
ibuler 7 years ago
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…
Cancel
Save