moved NG json to default file
This commit is contained in:
parent
625b3a766c
commit
3768822751
4 changed files with 357 additions and 358 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/python2.7 -tt
|
||||
|
||||
__version__ = "0.4/TETRIS"
|
||||
__default_config__ = "./linspector.json"
|
||||
|
||||
import argparse
|
||||
import time
|
||||
|
|
@ -11,8 +12,6 @@ from lib.core.logger import Logger
|
|||
from lib.config.config import Config
|
||||
from apscheduler.scheduler import Scheduler
|
||||
|
||||
DEFAULT_CONFIG = "./linspector.minimal.json"
|
||||
|
||||
|
||||
def parseArgs():
|
||||
parser = argparse.ArgumentParser(
|
||||
|
|
@ -23,7 +22,7 @@ def parseArgs():
|
|||
parser.add_argument("action", choices=["start", "stop", "restart", "attach"],
|
||||
help="defines if linspector should beeing attached, started, stopped or restarted.")
|
||||
parser.add_argument("--version", action="version", version="%(prog)s " + str(__version__))
|
||||
parser.add_argument("-c", "--config", default=DEFAULT_CONFIG,
|
||||
parser.add_argument("-c", "--config", default=__default_config__,
|
||||
help="select configfile to use")
|
||||
parser.add_argument("-l", "--logfile", default="./log/linspector.log", metavar="FILE",
|
||||
help="set logfile to use")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue