Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

up vote 1 down vote accepted

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

/etc/default/memcached

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

 
discard

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.