do not check config for daemon stop
This commit is contained in:
parent
7aa37cad8e
commit
73f21ffbf6
2 changed files with 7 additions and 6 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue