Commit 9fd46abf authored by ibuler's avatar ibuler

[Update] 修改日志

parent eeeca2d8
...@@ -13,6 +13,10 @@ import argparse ...@@ -13,6 +13,10 @@ import argparse
import time import time
import signal import signal
dirs = ('logs', 'keys')
for d in dirs:
os.makedirs(d, exist_ok=True)
from coco import Coco from coco import Coco
try: try:
...@@ -21,9 +25,6 @@ except ImportError: ...@@ -21,9 +25,6 @@ except ImportError:
print("Please prepare config file `cp conf_example.py conf.py`") print("Please prepare config file `cp conf_example.py conf.py`")
sys.exit(1) sys.exit(1)
dirs = ('logs', 'keys')
for d in dirs:
os.makedirs(d, exist_ok=True)
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) BASE_DIR = os.path.dirname(os.path.abspath(__file__))
DAEMON = False DAEMON = False
...@@ -119,7 +120,7 @@ if __name__ == '__main__': ...@@ -119,7 +120,7 @@ if __name__ == '__main__':
description=""" description="""
coco service control tools; coco service control tools;
Example: \r\n Example: \r\n
%(prog)s start -d; %(prog)s start -d;
""" """
......
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