Bug 783112

Summary: Provide native systemd service
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: memcachedAssignee: Paul Lindner <lindner>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, johannbg, jorton, lindner, matthias, mkkp4x4, mlichvar, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-04 15:55:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 751869, 816135, 818958    
Attachments:
Description Flags
Native systemd unit for memcached
none
tmpfile to generate the pid directory on each startup none

Description Jóhann B. Guðmundsson 2012-01-19 12:12:13 UTC
Description of problem:

Let's get the ball rolling on this one...

http://fedoraproject.org/wiki/Features/SysVtoSystemd
https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

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 2012-01-19 12:12:54 UTC
Created attachment 556257 [details]
Native systemd unit for memcached

Comment 2 Jóhann B. Guðmundsson 2012-01-19 12:13:49 UTC
Created attachment 556258 [details]
tmpfile to generate the pid directory on each startup

Comment 3 Jóhann B. Guðmundsson 2012-01-19 12:18:32 UTC
These are new unit files and updated to the current systemd implementation bug 692154 should be closed as duplicate of this one. 

This unit file is upstream-able thus usable between distribution. 

The reference to /etc/sysconfig/file has been dropped since it's Fedora/Red Hat specific. 

If users/adminstrators want to add options to daemon startup they should copy the unit file to /etc/systemd/system directory and add those options there. 

Now let's try to get this shipped in F17 shall we...

Comment 4 Paul Lindner 2012-02-07 06:07:24 UTC
*** Bug 692154 has been marked as a duplicate of this bug. ***

Comment 5 Jóhann B. Guðmundsson 2012-02-12 21:59:24 UTC
Ping

Comment 6 Gwyn Ciesla 2012-04-19 19:01:52 UTC
Paul, any objection to my making this change?

Comment 7 Joe Orton 2012-04-19 19:14:12 UTC
Does that:

Before=http-daemon.target

actually do what you want?  It seems to be some legacy target for use with the init script?  (Happy to be proven wrong!)

Comment 8 Gwyn Ciesla 2012-04-19 19:28:58 UTC
It probably does, but I think httpd.service is better.

Comment 9 Gwyn Ciesla 2012-04-24 14:05:59 UTC
Ping?

Comment 10 Gwyn Ciesla 2012-05-04 13:50:10 UTC
I'll do this today if noone objects in the interim.

Comment 11 Gwyn Ciesla 2012-05-04 15:55:49 UTC
Done.  Made modifications for sysconfig support, corrected the pidfile location, etc.