Réorganisation du lancement des services sur Hapy

Si opennebula se lance avant libvirt-bin lest hôtes sont
en erreur pendant un petit moment, afin d'éviter cet "affichage"
désagréable on force le démarrage du service opennebula après
libvirt-bin et multi-user.target.

ref #19140 @1h
This commit is contained in:
Philippe Caseiro 2017-02-14 10:41:57 +01:00
parent c03b472a9f
commit 3e50d4935e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# eole-one-singlenode specific rules # eole-one-master specific rules
hooks_PROG_DIR := $(DESTDIR)/var/lib/one/remotes/hooks/eole hooks_PROG_DIR := $(DESTDIR)/var/lib/one/remotes/hooks/eole
systemd_DATA_DIR := $(DESTDIR)/etc/systemd/system/opennebula.service.d/

3
systemd/libvirt-dep.conf Normal file
View File

@ -0,0 +1,3 @@
[Unit]
After=multi-user.target
After=libvirt-bin.service