Red Hat Bugzilla – Bug 783112
Provide native systemd service
Last modified: 2012-05-09 06:10:06 EDT
Description of problem:
Let's get the ball rolling on this one...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 556257 [details]
Native systemd unit for memcached
Created attachment 556258 [details]
tmpfile to generate the pid directory on each startup
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...
*** Bug 692154 has been marked as a duplicate of this bug. ***
Paul, any objection to my making this change?
actually do what you want? It seems to be some legacy target for use with the init script? (Happy to be proven wrong!)
It probably does, but I think httpd.service is better.
I'll do this today if noone objects in the interim.
Done. Made modifications for sysconfig support, corrected the pidfile location, etc.