Re: [CentOS] multiple memcached buckets in CentOS 7

2015-03-19 Thread Tim Dunphy
Hi again Alberto, With systemd it will be as easy as creating additional unit files ( one for each memcached instance) with its corresponding config file. That should allow to stop / start / restart each memcache instance individually while also being systemd compliant. I just wanted to say t

Re: [CentOS] multiple memcached buckets in CentOS 7

2015-03-18 Thread Tim Dunphy
Hi Alberto, With systemd it will be as easy as creating additional unit files ( one for > each memcached instance) with its corresponding config file. That should > allow to stop / start / restart each memcache instance individually while > also being systemd compliant. Thanks for the info and

Re: [CentOS] multiple memcached buckets in CentOS 7

2015-03-17 Thread Alberto Rivera Laporte
> > > Now, under CentOS 7, I see we have two files controlling memcached under > the new sysctl system. At least, using sysctl is new to me! > > I see we have this file: > > [root@web1:~] #cat /usr/lib/systemd/system/memcached.service > [Unit] > Description=Memcached > Before=httpd.service > After

[CentOS] multiple memcached buckets in CentOS 7

2015-03-17 Thread Tim Dunphy
Hey guys, OK so I'm pretty familiar with how to edit an init script for memcached so that I can get multiple memcached 'buckets' when starting up the service. The init script would ususally have multiple lines such as these under the start function: # cache_block /usr/local/bin/memcache