Bug 783112 - Provide native systemd service
Summary: Provide native systemd service
Alias: None
Product: Fedora
Classification: Fedora
Component: memcached
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Paul Lindner
QA Contact: Fedora Extras Quality Assurance
: 692154 (view as bug list)
Depends On:
Blocks: 751869 816135 818958
TreeView+ depends on / blocked
Reported: 2012-01-19 12:12 UTC by Jóhann B. Guðmundsson
Modified: 2012-05-09 10:10 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-05-04 15:55:49 UTC

Attachments (Terms of Use)
Native systemd unit for memcached (279 bytes, text/plain)
2012-01-19 12:12 UTC, Jóhann B. Guðmundsson
no flags Details
tmpfile to generate the pid directory on each startup (44 bytes, text/plain)
2012-01-19 12:13 UTC, Jóhann B. Guðmundsson
no flags Details

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...


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

How reproducible:

Steps to Reproduce:
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

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:


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

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.

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