Introduction ============ This recipe generates a new daemon setup for Memcached, and allows to have multiple Memcached daemons running in the same machine. This does not compile new Memcached Software but only reuse some existing one. Example ======= You can use it with a part like this : [buildout] parts = memcached-instance [memcached-instance] depends = ${create-directories:command} recipe = erp5.recipe.memcachedserver memcached_software_bin = ${software_definition:software_home}/parts/memcached/bin memcached_bin_folder = ${buildout:data-bin-directory} memcached_conf_file = ${buildout:etc-directory}/memcached.conf # Configuration goes here # -p memcached_tcp_port = 11211 # -U memcached_udp_port = 11211 # -l memcached_host = 127.0.0.1 # -m memcached_memory_size = 64 # -c memcached_simultaneous_connections = 1024 # -u memcached_user = erp5 # -d memcached_run_as_daemon = true # -P memcached_pid_file = /var/run/memcached.pid # -f memcached_factor = 1.25 # -n memcached_key_size = 48 # -t memcached_threads = 4 Note ======= Every Memcached options used here are optional. If an option is not specified in the buildout, memcached will use its default value. See man memcached for more information about these options.