Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b3b56a07
authored
Jun 20, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bg job of fai monitor
parent
394df2f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
porch/api/machine/bizlogic.py
porch/api/machine/bizlogic.py
View file @
b3b56a07
...
...
@@ -448,7 +448,7 @@ def install_machine(data):
return
(
True
,
s_date
)
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
)
with
open
(
s_logfile
,
'w+'
)
as
f
:
proc
=
Popen
(
s_cmd
,
shell
=
True
,
stdout
=
f
,
stderr
=
f
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment