From 9316de1109aa886d694d3c2736d4190b4dd83954 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 24 Apr 2009 16:13:12 +0000 Subject: [PATCH] oops, this is a bash script not python --- geni/restart-plc.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 geni/restart-plc.sh diff --git a/geni/restart-plc.sh b/geni/restart-plc.sh new file mode 100755 index 00000000..b33a3814 --- /dev/null +++ b/geni/restart-plc.sh @@ -0,0 +1,12 @@ +#!/bin/bash +for i in `ps aux |grep "python plc.py" | head -n3 |awk '{print $2}'` ; do + echo "killing $i" + kill $i +done + +echo "Start Registry" +python plc.py -r -d +echo "Start Aggregate Manager" +python plc.py -a -d +echo "Start Slice Manager" +python plc.py -s -d -- 2.43.0