Explorar o código

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 [email protected] wait for network.service

https://fedorahosted.org/389/ticket/48747

Reviewed by [email protected].
Viktor Ashirov %!s(int64=9) %!d(string=hai) anos
pai
achega
1e2cfe2ea4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wrappers/systemd.template.service.in

+ 1 - 1
wrappers/systemd.template.service.in

@@ -15,7 +15,7 @@
 [Unit]
 [Unit]
 Description=@capbrand@ Directory Server %i.
 Description=@capbrand@ Directory Server %i.
 PartOf=@systemdgroupname@
 PartOf=@systemdgroupname@
-After=chronyd.service
+After=chronyd.service network.service
 
 
 [Service]
 [Service]
 Type=notify
 Type=notify