WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] init script: Enable to run xend stop when

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] init script: Enable to run xend stop when dom0 shutdown
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 07 Mar 2009 06:35:15 -0800
Delivery-date: Sat, 07 Mar 2009 06:35:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236265566 0
# Node ID 29cc9eef79394173b2974813fd909da29eb7276d
# Parent  2a52806199fc5ae896785d0ec726faa9a7d70fed
init script: Enable to run xend stop when dom0 shutdown
Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
---
 tools/hotplug/Linux/init.d/xend |    2 ++
 1 files changed, 2 insertions(+)

diff -r 2a52806199fc -r 29cc9eef7939 tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend   Thu Mar 05 15:02:02 2009 +0000
+++ b/tools/hotplug/Linux/init.d/xend   Thu Mar 05 15:06:06 2009 +0000
@@ -39,11 +39,13 @@ function await_daemons_up
 
 case "$1" in
   start)
+       touch /var/lock/subsys/xend
        xend start
        await_daemons_up
        ;;
   stop)
        xend stop
+       rm -f /var/lock/subsys/xend
        ;;
   status)
        xend status

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] init script: Enable to run xend stop when dom0 shutdown, Xen patchbot-unstable <=