From 4e39b5bd17f1e1a306496e0bbb51943fc665186d Mon Sep 17 00:00:00 2001 From: William Brown Date: Feb 07 2016 22:30:15 +0000 Subject: Ticket 48147 - Install section for dirsrv@.service template Bug Description: The commands systemctl enable dirsrv@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@/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 +