Bug 720184 - Provide native systemd unit file
Summary: Provide native systemd unit file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Vcelak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SysVtoSystemd
TreeView+ depends on / blocked
 
Reported: 2011-07-10 17:16 UTC by Jóhann B. Guðmundsson
Modified: 2013-03-04 01:29 UTC (History)
4 users (show)

Fixed In Version: openldap-2.4.26-6.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-01 15:12:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Native systemd service file for slapd (333 bytes, text/plain)
2011-07-10 17:29 UTC, Jóhann B. Guðmundsson
no flags Details

Description Jóhann B. Guðmundsson 2011-07-10 17:16:14 UTC
Description of problem:

https://fedoraproject.org/wiki/Features/SysVtoSystemd


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jóhann B. Guðmundsson 2011-07-10 17:29:15 UTC
Created attachment 512102 [details]
Native systemd service file for slapd

Note that you will need to put "configtest" section from the legacy sysv init script into a seperated script and call it from ExecStartPre= if you want to continue using and also set/adjust the $harg value accordingly in /etc/sysconfig/ldap as in 

# uncomment bla
harg=ldap:///

# uncomment bla bla
#harg=ldapi:/// 

# uncomment bla bla bla
#harg=ldaps:/// 

https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
https://fedoraproject.org/wiki/Packaging:Tmpfiles.d

Comment 2 Jan Vcelak 2011-11-01 15:12:12 UTC
Fixed in openldap-2.4.26-6.fc17


Note You need to log in before you can comment on or make changes to this bug.