[Bug 681090] Re: status operation on init.d not working correctly

rynop 681090 at bugs.launchpad.net
Mon Apr 11 20:23:33 UTC 2011


Hi Clint,

no problem on making Ubuntu better, I owe it a lot.

I actually make a different init.d script for each memcache daemon.
This is handy in making a production level web app that leverages
memcache as I can have staging environments on 1 server.  For example, I
have my production server listening on port X
(/etc/init.d/memcache_prod) and my staging server listening on port Y
(/etc/init.d/memcache_beta).  This way I can restart the beta memcache
server (to clear all entries) without impacting my production one.

For further clarity, here is a bash script I use to create a second init.d and all of its supporting files:
https://gist.github.com/914243

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to memcached in Ubuntu.
https://bugs.launchpad.net/bugs/681090

Title:
  status operation on init.d not working correctly



More information about the Ubuntu-server-bugs mailing list