File ganglia-0019-issue-266-requiring-dhcp-and-network-interfaces-to-b.patch of Package ganglia

From: arlion <arlion@arlionprojects.com>
Date: Tue, 11 Apr 2017 10:16:08 -0400
Git-commit: a3d519b29ce952c84f9012eaefa11497f65d4391
References: bsc#1087487
Subject: [PATCH] issue 266, requiring dhcp and network interfaces to be UP
 before starting gmond

Acked-by: John Jolly <jjolly@suse.de>
---
 gmetad-python/gmetad-python.service.in | 2 +-
 gmetad/gmetad.service.in               | 2 +-
 gmond/gmond.service.in                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gmetad-python/gmetad-python.service.in b/gmetad-python/gmetad-python.service.in
index 16918db7..11243979 100644
--- a/gmetad-python/gmetad-python.service.in
+++ b/gmetad-python/gmetad-python.service.in
@@ -1,6 +1,6 @@
 [Unit]
 Description=Ganglia Meta Daemon in Python
-After=network.target
+After=network-online.target
 
 [Service]
 ExecStart=@bindir@/gmetad.py -f
diff --git a/gmetad/gmetad.service.in b/gmetad/gmetad.service.in
index 8234e90e..d7800655 100644
--- a/gmetad/gmetad.service.in
+++ b/gmetad/gmetad.service.in
@@ -1,6 +1,6 @@
 [Unit]
 Description=Ganglia Meta Daemon
-After=network.target
+After=network-online.target
 
 [Service]
 Type=forking
diff --git a/gmond/gmond.service.in b/gmond/gmond.service.in
index 3fd136b4..13774e80 100644
--- a/gmond/gmond.service.in
+++ b/gmond/gmond.service.in
@@ -1,6 +1,6 @@
 [Unit]
 Description=Ganglia Monitor Daemon
-After=network.target
+After=network-online.target
 
 [Service]
 Type=forking
-- 
2.13.6

openSUSE Build Service is sponsored by