- merge revision 1.5
[mom.git] / pl_mop.sh
index 028bcd0..4133dee 100755 (executable)
--- a/pl_mop.sh
+++ b/pl_mop.sh
@@ -5,7 +5,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id: pl_mop.sh,v 1.4 2006/01/26 19:26:20 mlhuang Exp $
+# $Id$
 #
 
 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
 }