wrappers/systemd.template.service.in | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 4e39b5bd17f1e1a306496e0bbb51943fc665186d
Author: William Brown <firstyear(a)redhat.com>
Date: Mon Jan 25 14:51:45 2016 +1000
Ticket 48147 - Install section for dirsrv@.service template
Bug Description: The commands systemctl enable dirsrv(a)inst.service do not
currently operate. This is because of a missing Install section
Fix Description: Add the install section to the .service template.
https://fedorahosted.org/389/ticket/48147
Author: wibrown
Review by: mreynolds (thanks!)
diff --git a/wrappers/systemd.template.service.in b/wrappers/systemd.template.service.in
index 9432cb0..f0aa287 100644
--- a/wrappers/systemd.template.service.in
+++ b/wrappers/systemd.template.service.in
@@ -26,3 +26,7 @@ ExecStopPost=/bin/rm -f @localstatedir@/run/@package_name(a)/slapd-%i.pid
# if you need to set other directives e.g. LimitNOFILE=8192
# set them in this file
.include @initconfigdir@/@package_name@.systemd
+
+[Install]
+WantedBy=dirsrv.target
+