andykimpe / rpms / 389-ds-base

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