From 9b4ea96225de4376a1333b130c7865151ba07f14 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 30 Aug 2011 15:11:54 +0200 Subject: [PATCH] Fix startup order Also depend on pve-cluster and redhat-cluster-pve. --- control.in | 2 +- postinst | 2 +- qemu.init.d | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/control.in b/control.in index 0d08d35a..45ca559e 100644 --- a/control.in +++ b/control.in @@ -3,7 +3,7 @@ Version: @@VERSION@@-@@PKGRELEASE@@ Section: admin Priority: optional Architecture: @@ARCH@@ -Depends: libc6 (>= 2.7-18), perl (>= 5.10.0-19), libterm-readline-gnu-perl, libdigest-sha1-perl, pve-qemu-kvm (>= 0.11.1) | pve-qemu-kvm-2.6.18, netcat-traditional, libpve-storage-perl +Depends: libc6 (>= 2.7-18), perl (>= 5.10.0-19), libterm-readline-gnu-perl, libdigest-sha1-perl, pve-qemu-kvm (>= 0.11.1) | pve-qemu-kvm-2.6.18, netcat-traditional, libpve-storage-perl, pve-cluster, redhat-cluster-pve Conflicts: netcat-openbsd Maintainer: Proxmox Support Team Description: Qemu Server Tools diff --git a/postinst b/postinst index 14f7165c..477169b2 100644 --- a/postinst +++ b/postinst @@ -21,7 +21,7 @@ set -e case "$1" in configure) - update-rc.d qemu-server defaults 25 >/dev/null 2>&1 + update-rc.d qemu-server defaults 25 75 >/dev/null 2>&1 # update old config files diff --git a/qemu.init.d b/qemu.init.d index 156596a6..261492df 100644 --- a/qemu.init.d +++ b/qemu.init.d @@ -2,14 +2,14 @@ ### BEGIN INIT INFO # Provides: qemu-server -# Required-Start: $network $local_fs $remote_fs -# Required-Stop: $network $local_fs $remote_fs +# Required-Start: pve-cluster cman $network $local_fs $remote_fs +# Required-Stop: pve-cluster cman $network $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: start all qemu/kvm virtual machines ### END INIT INFO -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +PATH=/sbin:/bin:/usr/sbin:/usr/bin PROG=/usr/sbin/qm DESC="Qemu Server"