From 14f5eafa6e24a481e5be3355f9c2a67798cdcf19 Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: Mon, 29 Feb 2016 19:07:12 +0100 Subject: [PATCH] Ticket 48747 - dirsrv service fails to start when nsslapd-listenhost is configured Bug Description: In some environments network initialization takes a long time (slow DHCP, etc). When nsslapd-listenhost is configured, dirsrv systemd service fails to start, because it doesn't wait for the network to be available. Fix Description: Make dirsrv@.service wait for network.service --- wrappers/systemd.template.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/systemd.template.service.in b/wrappers/systemd.template.service.in index 629c1ad..3eb0789 100644 --- a/wrappers/systemd.template.service.in +++ b/wrappers/systemd.template.service.in @@ -15,7 +15,7 @@ [Unit] Description=@capbrand@ Directory Server %i. PartOf=@systemdgroupname@ -After=chronyd.service +After=chronyd.service network.service [Service] Type=notify -- 2.7.0