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