Memcached – i installed it on centOS and have it running. Will it auto run when i reboot?

slycat asked:

I did this:

sudo yum install memcached


sudo pecl install memcache

then I restarted memcache (which actually only started it) with this:

sudo /sbin/service memcached restart

i have no idea if it will start when I reboot. How do i set that up?

also is there any way to set a password on memcache? I’ve limited it to by editing /etc/sysconfig/memcached

and adding this line


My answer:

You can set memcached (or most other services with an init script) to start at boot with a command such as:

chkconfig memcached on

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.