amoralej / rpms / 389-ds-base

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

Blame SOURCES/0012-Ticket-49378-server-init-fails.patch

b045b9
From 82e092e9debce16f048b4fe0f38265bc8d80f63d Mon Sep 17 00:00:00 2001
b045b9
From: William Brown <firstyear@redhat.com>
b045b9
Date: Thu, 28 Sep 2017 09:11:00 +1000
b045b9
Subject: [PATCH] Ticket 49378 server init fails
b045b9
b045b9
Bug Description:  We used our own target for DS installation, but
b045b9
we should just use multi-user like anything else.
b045b9
b045b9
Fix Description:  Change service template to multi-user. This should
b045b9
be a seamless upgrade to most consumers.
b045b9
b045b9
https://pagure.io/389-ds-base/issue/49378
b045b9
b045b9
Author: wibrown
b045b9
b045b9
Review by: mreynolds (Thanks!)
b045b9
b045b9
(cherry picked from commit e9ad5f5aca64f65fa2c9b2dc5132b0dacf131c99)
b045b9
---
b045b9
 wrappers/systemd.template.asan.service.in | 2 +-
b045b9
 wrappers/systemd.template.service.in      | 2 +-
b045b9
 2 files changed, 2 insertions(+), 2 deletions(-)
b045b9
b045b9
diff --git a/wrappers/systemd.template.asan.service.in b/wrappers/systemd.template.asan.service.in
b045b9
index 1fe321ccb..52681f632 100644
b045b9
--- a/wrappers/systemd.template.asan.service.in
b045b9
+++ b/wrappers/systemd.template.asan.service.in
b045b9
@@ -36,5 +36,5 @@ ExecStart=@sbindir@/ns-slapd -D @instconfigdir@/slapd-%i -i @localstatedir@/run/
b045b9
 .include @initconfigdir@/@package_name@.systemd
b045b9
 
b045b9
 [Install]
b045b9
-WantedBy=dirsrv.target
b045b9
+WantedBy=multi-user.target
b045b9
 
b045b9
diff --git a/wrappers/systemd.template.service.in b/wrappers/systemd.template.service.in
b045b9
index 30b9e4b78..0d88900b6 100644
b045b9
--- a/wrappers/systemd.template.service.in
b045b9
+++ b/wrappers/systemd.template.service.in
b045b9
@@ -40,5 +40,5 @@ ExecStart=@sbindir@/ns-slapd -D @instconfigdir@/slapd-%i -i @localstatedir@/run/
b045b9
 .include @initconfigdir@/@package_name@.systemd
b045b9
 
b045b9
 [Install]
b045b9
-WantedBy=dirsrv.target
b045b9
+WantedBy=multi-user.target
b045b9
 
b045b9
-- 
b045b9
2.13.6
b045b9