kill ...
This commit is contained in:
parent
cc03cc8d58
commit
9645b0c9c9
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ EOF
|
||||||
# (re)start a metadata service
|
# (re)start a metadata service
|
||||||
(
|
(
|
||||||
pid=`lsof -iTCP@192.168.$GUEST_NETWORK.1:4567 -n | awk '{print $2}' | tail -1`
|
pid=`lsof -iTCP@192.168.$GUEST_NETWORK.1:4567 -n | awk '{print $2}' | tail -1`
|
||||||
[ ! -e $pid ] || kill -9 $pid
|
[ -z "$pid" ] || kill -9 $pid
|
||||||
)
|
)
|
||||||
cd $vm_dir/uec
|
cd $vm_dir/uec
|
||||||
python meta.py 192.168.$GUEST_NETWORK.1:4567 &
|
python meta.py 192.168.$GUEST_NETWORK.1:4567 &
|
||||||
|
|
Loading…
Reference in a new issue