memcache didn't support multi-service. Attached is a new memcache init script. New services read from /etc/conf.d/memcached.servicename -- old memcached config files will work out of the box, but PIDFILE is now ignored (it is generated based on the service name). Reproducible: Always Steps to Reproduce: 1.emerge memcache 2.notice it doesn't work multi Actual Results: no multi Expected Results: multi
Created attachment 132692 [details] new init script - /etc/init.d/memcached
> CONFDIR="/etc/openvpn" Hmmm... Reopen with a unified diff against current ebuild, with all the relics of other ebuilds removed.
php: I'm taking memcached per lisa's original retirement mail.
Have phun... :) Not that I'd understand what's this bug about... <snip> elog "With this version of Memcached Gentoo now supports multiple instances." elog "To enable this you must create a symlink in /etc/init.d/ for each instance" elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" elog "Please see Gentoo bug #122246 for more info" </snip>
1.2.4_rc1 is in the tree with this. Please note that multiconf did work before, but you had the change the pidfile suitably (esp if you were listening on two addresses but the same port with different instances). I took the best of both worlds, and made the user specify just the prefix for the pidfile, and then append $PORT and ${CONF} to it to form the unique pidfile.