Re: [PATCH] systemd unit: Make sure network is really up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK.

If this proves to be insufficient then we might need to also add

ExecStartPre=/usr/bin/nm-online

But I suspect that will not be needed because of your comment on 'lo' below.

Chrissie

On 06/01/14 10:03, Jan Friesse wrote:
Change network.target to network-online.target to make sure network is
really up and running when starting corosync.

Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
  init/corosync.service.in |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/init/corosync.service.in b/init/corosync.service.in
index 8a43ccf..553b194 100644
--- a/init/corosync.service.in
+++ b/init/corosync.service.in
@@ -1,8 +1,8 @@
  [Unit]
  Description=Corosync Cluster Engine
  ConditionKernelCommandLine=!nocluster
-Requires=network.target
-After=network.target
+Requires=network-online.target
+After=network-online.target

  [Service]
  ExecStart=@INITWRAPPERSDIR@/corosync start


_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux