From d76fd4b3bb896c474b6762ccd930e0d061f365cb Mon Sep 17 00:00:00 2001 From: Vincenzo Maffione Date: Mon, 6 Feb 2017 21:28:08 +0100 Subject: irati, rlite: use nohup for daemons --- irati_support.py | 2 +- rlite_support.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/irati_support.py b/irati_support.py index 8ee5c24..59e0c63 100644 --- a/irati_support.py +++ b/irati_support.py @@ -41,7 +41,7 @@ class IRATIExperiment(rhumba.Experiment): cmds.append("sudo rm -rf ~/irati") cmds.append("cd && git clone https://github.com/IRATI/stack irati") cmds.append("cd ~/irati && sudo ./install-from-scratch") - cmds.append("sudo ipcm &> ipcm.log &") + cmds.append("sudo nohup ipcm &> ipcm.log &") for node in self.nodes: ssh.execute_commands(self.testbed, node.full_name, cmds, time_out = None) diff --git a/rlite_support.py b/rlite_support.py index eeaf857..b34a2b1 100644 --- a/rlite_support.py +++ b/rlite_support.py @@ -37,7 +37,7 @@ class RLITEExperiment(rhumba.Experiment): cmds.append("sudo rm -rf ~/rlite") cmds.append("cd ~; git clone https://github.com/vmaffione/rlite") cmds.append("cd ~/rlite && ./configure && make && sudo make install") - cmds.append("sudo rlite-uipcps -v DBG -k 0 -U -A &> uipcp.log &") + cmds.append("sudo nohup rlite-uipcps -v DBG -k 0 -U -A &> uipcp.log &") for node in self.nodes: ssh.execute_commands(self.testbed, node.full_name, cmds, time_out = None) -- cgit v1.2.3