return msg
def startDaemon(self, node):
- comm = "PYTHONPATH=/home/p2p/cs-p2p-next/bt_comm:/home/p2p/cs-p2p-next/bt_comm/start-clients/ python /home/p2p/cs-p2p-next/bt_comm/server/Server.py start"
-
+ print node.daemon_dir
+ comm = "PYTHONPATH=/home/p2p/cs-p2p-next/bt_comm:/home/p2p/cs-p2p-next/bt_comm/start-clients/ python /home/p2p/cs-p2p-next/bt_comm/server/Server.py start " + node.public_address + " " + node.listen_port
+ print comm
#self.printDummyCommand(node.public_address, node.public_port, node.ssh_port, comm)
self.sendSSHComm(node.public_address, node.username, int(node.ssh_port), comm)
self.sendSSHComm(node.public_address, node.username, int(node.ssh_port), "ps -ef | grep Server")