removed daemonize code that is not needed for services, cleaned up need for logrotate, removed some logging that was not useful
This commit is contained in:
parent
1ac862cc17
commit
44363b0500
7 changed files with 20 additions and 255 deletions
|
@ -138,8 +138,9 @@ class SimpleLxcNode(PyCoreNode):
|
|||
try:
|
||||
os.kill(self.pid, signal.SIGTERM)
|
||||
os.waitpid(self.pid, 0)
|
||||
except OSError:
|
||||
logger.exception("error killing process")
|
||||
except OSError as e:
|
||||
if e.errno != 10:
|
||||
logger.exception("error killing process")
|
||||
|
||||
# remove node directory if present
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue