Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

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

This question came from our site for pro webmasters.

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

2 Answers 2

up vote 1 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
share|improve this answer
-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

share|improve this answer

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.