openbsd-ports/misc/memcached/pkg/MESSAGE
jasper 4c60f3ab4b - update memcached to 1.4.0 ("many improvements have been made, upgrading is
recommended")

from Scott Vokes (MAINTAINER), thanks
2009-08-07 10:46:41 +00:00

16 lines
536 B
Plaintext

To start memcached at boot time, add the following to /etc/rc.local:
if [ -x ${PREFIX}/bin/memcached ]; then
echo -n ' memcached'
${PREFIX}/bin/memcached -d \
-u _memcached -P /var/run/memcached.pid
fi
To see further configuration options, run "memcached -h".
Since memcached has no authentication mechanisms, it is designed for
internal use only, and should be firewalled accordingly. You may wish
to add a rule such as the following to /etc/pf.conf:
block on $ext_if proto tcp to ($ext_if) port 11211