2

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?

Hao
  • 525
  • 2
  • 8
  • 17

2 Answers2

4
-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

Mike
  • 22,310
  • 7
  • 56
  • 79
1

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
Adrien P.
  • 789
  • 3
  • 9