Browse Source

Ticket 48147 - Install section for [email protected] template

Bug Description:  The commands systemctl enable [email protected] 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!)
William Brown 9 years ago
parent
commit
4e39b5bd17
1 changed files with 4 additions and 0 deletions
  1. 4 0
      wrappers/systemd.template.service.in

+ 4 - 0
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@/@[email protected]
+
+[Install]
+WantedBy=dirsrv.target
+