Commit ddd18e10 authored by ibuler's avatar ibuler

[Debug] debug print error

parent a7558821
#!/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 ...@@ -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__': ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment