andykimpe / rpms / 389-ds-base

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