Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use commands like sudo service memcached start to turn on various things after a reboot and I am wondering if it is possible to also tell this service to start memcached to start with certain flags, for example -vvv?

Any ideas? (The 'service' was automatically created when I installed through apt-get)

share|improve this question
Those services are files inside /etc/init.d/ and /etc/init/. – sagarchalise Mar 6 '12 at 18:04
up vote 1 down vote accepted

You typically configure services like this using files in /etc. For this particular package, look at


Also, reading the man page for memcached will usually show you the location of the configuration files.

share|improve this answer

After way too long searching, it seems that you have to add flags to /etc/memcached.conf

share|improve this answer
I would recommend adding more information to your answer. How to add the flags? How does that help? Link the resource where you found this while searching and other relevant points which would help improve the quality of the answer. – Aditya Aug 9 '13 at 9:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.