How to start the daemon by nobody? Do I have to start as nobody?

I have only one box. So how many ports can I give to the daemon?

link|improve this question

45% accept rate
What Operating System do you run on? If Linux, what distro ? – Adrien P. Nov 2 '11 at 13:49
feedback

migrated from webmasters.stackexchange.com Nov 2 '11 at 11:53

This question came from our site for pro webmasters.

2 Answers

up vote 0 down vote accepted

I just checked, by default on Debian it's launched as nobody. Just run:

 /etc/init.d/memcached start

If you'r running CentOS or RedHat:

 service memcached start
link|improve this answer
feedback
-u <username> assume identity of <username> (only when run as root)

So you can run

memcached -u nobody -d

the -d flag will launch it as a daemon in the background

memcached -h

That will list all the flags you can use

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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