retr0h / memcached_init

Multi-port memcached init script.

This URL has Read+Write access

memcached_init / README.rdoc
100644 21 lines (13 sloc) 0.529 kb

memcached_init

This is a multi-port memcached init script, intended for memcached farms.

  • Script is nasty and based off "The Commando Pattern"
          http://www.lsd.ic.unicamp.br/~oliva/fun/prog/resign-patterns
    

Help desired via git:

    git clone git://github.com/retr0h/memcached_init.git

Usage

  • /etc/init.d/memcached status (status of each process)
  • /etc/init.d/memcached stop { port }
  • /etc/init.d/memcached start { port }

TODO

  • Add Redhat (chkconfig) and debian comments.
  • Rework port definition section.