[Pkg-xen-changes] r991 - trunk/xen/debian
Bastian Blank
waldi at alioth.debian.org
Sun Apr 22 21:04:45 UTC 2012
Author: waldi
Date: Sun Apr 22 21:04:45 2012
New Revision: 991
Log:
debian/xen-utils-common.xendomains.init: Remove lock file.
Modified:
trunk/xen/debian/xen-utils-common.xendomains.init
Modified: trunk/xen/debian/xen-utils-common.xendomains.init
==============================================================================
--- trunk/xen/debian/xen-utils-common.xendomains.init Sun Apr 22 21:03:41 2012 (r990)
+++ trunk/xen/debian/xen-utils-common.xendomains.init Sun Apr 22 21:04:45 2012 (r991)
@@ -25,7 +25,6 @@
exit 0
fi
-LOCKFILE=/var/lock/xendomains
XENDOM_CONFIG=/etc/default/xendomains
test -r $XENDOM_CONFIG || { echo "$XENDOM_CONFIG not existing";
@@ -146,13 +145,6 @@
do_start()
{
- if [ -f $LOCKFILE ]; then
- echo -e "xendomains already running (lockfile exists)"
- return;
- fi
- mkdir -p $(dirname "$LOCKFILE")
- touch $LOCKFILE
-
do_start_restore
do_start_auto
}
@@ -191,9 +183,6 @@
if test -n "$XENDOMAINS_MIGRATE"; then do_stop_migrate; fi
if test -n "$XENDOMAINS_SAVE"; then do_stop_save; fi
do_stop_shutdown_all
-
- # Unconditionally delete lock file
- rm -f $LOCKFILE
}
check_domain_up()
More information about the Pkg-xen-changes
mailing list