Przeglądaj źródła

Ticket #47574 - start dirsrv after ntpd

Description:
1) Adding a dependency on ntpd.service to systemd (systemd.group.in).
2) Set "# chkconfig: - 59 73" to initcript.  Start priority 59 is one
   greater than ntpd's; stop priofity 73 is one less than ntpd's.

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

Reviewed and commented by [email protected] (Thank you, Rich!!)
Noriko Hosoi 11 lat temu
rodzic
commit
fd71c23517
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      wrappers/initscript.in
  2. 1 1
      wrappers/systemd.group.in

+ 1 - 1
wrappers/initscript.in

@@ -2,7 +2,7 @@
 #
 # @package_name@    This starts and stops @package_name@
 #
-# chkconfig:   - 21 79
+# chkconfig:   - 59 73
 # description: @capbrand@ Directory Server
 # processname: @sbindir@/ns-slapd
 # configdir:   @sysconfdir@/@package_name@/

+ 1 - 1
wrappers/systemd.group.in

@@ -1,6 +1,6 @@
 [Unit]
 Description=@capbrand@ Directory Server
-After=syslog.target network.target
+After=syslog.target network.target ntpd.service
 
 [Install]
 WantedBy=multi-user.target