Change network.target to network-online.target to make sure network is
really up and running when starting corosync.

Signed-off-by: Jan Friesse <[email protected]>
---
 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
-- 
1.7.1

_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss

Reply via email to