do not check config for daemon stop

This commit is contained in:
clowwindy 2015-02-02 15:50:41 +08:00
parent 7aa37cad8e
commit 73f21ffbf6
2 changed files with 7 additions and 6 deletions

View file

@ -43,9 +43,6 @@ def daemon_exec(config):
command = 'start'
pid_file = config['pid-file']
log_file = config['log-file']
command = common.to_str(command)
pid_file = common.to_str(pid_file)
log_file = common.to_str(log_file)
if command == 'start':
daemon_start(pid_file, log_file)
elif command == 'stop':