From: Mark Huang Date: Mon, 6 Mar 2006 20:40:33 +0000 (+0000) Subject: - start pl_conf in case it's dead X-Git-Tag: planetlab-3_3-branch-point~23 X-Git-Url: http://git.onelab.eu/?p=mom.git;a=commitdiff_plain;h=1920b431ff02af647568df667b7272384adf25f2 - start pl_conf in case it's dead --- diff --git a/pl_mop.sh b/pl_mop.sh index e40b872..5ac5546 100755 --- a/pl_mop.sh +++ b/pl_mop.sh @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: pl_mop.sh,v 1.3 2005/12/01 23:38:58 mlhuang Exp $ +# $Id: pl_mop.sh,v 1.4 2006/01/26 19:26:20 mlhuang Exp $ # PATH=/sbin:/usr/sbin:$PATH @@ -74,7 +74,8 @@ restart_pl_conf() { vserver pl_conf exec /sbin/service pl_conf status >/dev/null 2>&1 if [ $? -ne 0 ] ; then echo "* Restarting pl_conf" - vserver pl_conf restart + vserver pl_conf stop + vserver pl_conf start fi }