Peter Pluta wrote:
> 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 -p
> 11211 -m 32 -P /var/run/memcached/". 
> /etc/rc.conf bit:
> memcached_enable="YES"
> memcached_flags='-u memcached -d -l -m 32 -P
> /var/run/ -p 1121'
> Any ideas?

Nvm, I had to take a look at the rc script to see that there was another
directive (memcached_user="")
View this message in context:
Sent from the freebsd-questions mailing list archive at

_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to