Date: Thu, 23 Aug 2007 22:39:35 -0700 (PDT) From: Peter Pluta <peter@placidpublishing.net> To: freebsd-questions@freebsd.org Subject: Memcached Daemon Startup Issues Message-ID: <12306830.post@talk.nabble.com>
next in thread | raw e-mail | index | archive | help
I installed memcached and since it doesn't have a config file I entered the flags into rc.conf, but when I start it with the rc.d scripts, it always runs as nobody, instead of the user I specified with -u <user>. The man page says "only when run as root". This confuses me somewhat because i'm executing the rc.d script as root, yet it still starts as nobody. I can manually start memcached with "memcached -u memcached -l 127.0.0.1 -p 11211 -m 32 -P /var/run/memcached/memcached.pid". /etc/rc.conf bit: memcached_enable="YES" memcached_flags='-u memcached -d -l 127.0.0.1 -m 32 -P /var/run/memcached.pid -p 1121' Any ideas? -- View this message in context: http://www.nabble.com/Memcached-Daemon-Startup-Issues-tf4321717.html#a12306830 Sent from the freebsd-questions mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12306830.post>