[Kimchi-devel] [PATCH] [Kimchi 1/3] Update Kimchi config file for Systemd service

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Thu May 12 21:32:25 UTC 2016


From: Paulo Vital <pvital at linux.vnet.ibm.com>

Modify kimchid.service for Fedora and Ubuntu to update how Kimchi dependencies
must be loaded by Systemd.

Now, when libvirtd.service stops wokd.service will not shutdown in sequence,
still running. However, when wokd.service starts it still needs libvirtd.service
be started before.

This patch is part of the solution for Issue #201

Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
 contrib/kimchid.service.fedora | 3 ++-
 contrib/kimchid.service.ubuntu | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/kimchid.service.fedora b/contrib/kimchid.service.fedora
index d7b10d2..87a5866 100644
--- a/contrib/kimchid.service.fedora
+++ b/contrib/kimchid.service.fedora
@@ -1,5 +1,6 @@
 [Unit]
-Requires=libvirtd.service wokd.service
+Requires=wokd.service
+Wants=libvirtd.service
 After=libvirtd.service wokd.service
 
 [Service]
diff --git a/contrib/kimchid.service.ubuntu b/contrib/kimchid.service.ubuntu
index f865987..e52db66 100644
--- a/contrib/kimchid.service.ubuntu
+++ b/contrib/kimchid.service.ubuntu
@@ -1,5 +1,6 @@
 [Unit]
-Requires=libvirt-bin.service wokd.service
+Requires=wokd.service
+Wants=libvirt-bin.service
 After=libvirt-bin.service wokd.service
 
 [Service]
-- 
2.5.5




More information about the Kimchi-devel mailing list