zrhoffman / rpms / 389-ds-base

Forked from rpms/389-ds-base 3 years ago
Clone

Blame SOURCES/0038-Ticket-47947-start-dirsrv-after-chrony-on-RHEL7-and-.patch

f92ce9
From 30877169647515a43ae9a1a7a1873e890c7798cc Mon Sep 17 00:00:00 2001
f92ce9
From: Noriko Hosoi <nhosoi@redhat.com>
f92ce9
Date: Tue, 16 Dec 2014 13:42:56 -0800
f92ce9
Subject: [PATCH 38/53] Ticket #47947 - start dirsrv after chrony on RHEL7 and
f92ce9
 Fedora
f92ce9
f92ce9
Description: After=chronyd.service to systemd.template.service.in,
f92ce9
which is installed as this file:
f92ce9
    /usr/lib/systemd/system/dirsrv@.service
f92ce9
and pointed by each server's service file:
f92ce9
    /etc/systemd/system/dirsrv.target.wants/dirsrv@YOURID.service
f92ce9
f92ce9
https://fedorahosted.org/389/ticket/47947
f92ce9
f92ce9
Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
f92ce9
f92ce9
(cherry picked from commit c3389a46c584fa39b2278a295f8b2b6dad726d31)
f92ce9
(cherry picked from commit 6e4e21ff010041eb636cc06b23bb3ed0de78ef1d)
f92ce9
---
f92ce9
 wrappers/systemd.template.service.in | 1 +
f92ce9
 1 file changed, 1 insertion(+)
f92ce9
f92ce9
diff --git a/wrappers/systemd.template.service.in b/wrappers/systemd.template.service.in
f92ce9
index 42c7c23..9432cb0 100644
f92ce9
--- a/wrappers/systemd.template.service.in
f92ce9
+++ b/wrappers/systemd.template.service.in
f92ce9
@@ -15,6 +15,7 @@
f92ce9
 [Unit]
f92ce9
 Description=@capbrand@ Directory Server %i.
f92ce9
 PartOf=@systemdgroupname@
f92ce9
+After=chronyd.service
f92ce9
 
f92ce9
 [Service]
f92ce9
 Type=forking
f92ce9
-- 
f92ce9
1.9.3
f92ce9