How to pass flags when starting 'service'?

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)


Solution 1:

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.