Commit b3b56a07 by Heechul Kim

bg job of fai monitor

parent 394df2f7
Showing with 1 additions and 1 deletions
...@@ -448,7 +448,7 @@ def install_machine(data): ...@@ -448,7 +448,7 @@ def install_machine(data):
return (True, s_date) return (True, s_date)
def _bgmonitorprocess(i_port, s_logfile): def _bgmonitorprocess(i_port, s_logfile):
s_cmd = "sudo {} -p {} -l {} -T".format(FAI_MONITOR, i_port, s_logfile) s_cmd = "sudo {} -d -p {} -l {} -T".format(FAI_MONITOR, i_port, s_logfile)
log.debug(s_cmd) log.debug(s_cmd)
with open(s_logfile, 'w+') as f: with open(s_logfile, 'w+') as f:
proc = Popen(s_cmd, shell=True, stdout=f, stderr=f) proc = Popen(s_cmd, shell=True, stdout=f, stderr=f)
......
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 sign in to comment