fixed errorlog path

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 0895eb3d74
This commit is contained in:
Arthur Lu 2021-10-12 21:42:09 +00:00
parent 1e6bc1926a
commit 6f28e507a1

View File

@ -536,7 +536,7 @@ def start(pid_path, verbose = False, profile = False, debug = False):
else: else:
f = open('errorlog.txt', 'w+') f = open('errorlog.log', 'w+')
with daemon.DaemonContext( with daemon.DaemonContext(
working_directory=os.getcwd(), working_directory=os.getcwd(),
pidfile=pidfile.TimeoutPIDLockFile(pid_path), pidfile=pidfile.TimeoutPIDLockFile(pid_path),