NAME
Ubic::Service::Memcached - memcached as ubic service
VERSION
version 2.02
SYNOPSIS
use Ubic::Service::Memcached;
return Ubic::Service::Memcached->new({
    port => 1234,
    pidfile => "/var/run/my-memcached.pid",
    maxsize => 500,
});
DESCRIPTION
This module allows you to run memcached using Ubic.
Its status method tries to store Ubic::Service::Memcached-testkey key in memcached to check that service is running.
METHODS
- new($params)
 - 
Constructor.
Parameters:
- port
 - 
Integer port number.
 - pidfile
 - 
Full path to pidfile. Pidfile will be managed by
Ubic::Daemon.You can skip this parameter if you have
/module/Ubic/Service/Memcached/pid_dirmorpheus option configured. In this case pidfile will be located in that directory and have name$port.pid. - maxsize
 - 
Max memcached memory size in megabytes. Default is 640MB.
 - verbose
 - 
Enable memcached logging.
verbose=1turns on basic error and warning logs (i.e. it sets-vswitch),verbose=2turns on more detailed logging (i.e. it sets-vvswitch). - logfile
 - 
If specified, memcached will be configured to write logs to given file.
 - ubic_log
 - 
Optional log with ubic-specific messages.
 - max_connections
 - 
Number of max simultaneous connections (
-cmemcached option). - other_argv
 - 
Any argv parameters to memcached binary which are not covered by this module's API.
 - user
 - group
 - 
As usual, you can specify custom user and group values. Default is
root:root. 
 
AUTHOR
Vyacheslav Matyukhin <me@berekuk.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.