===========================================================================
$NetBSD: MESSAGE,v 1.2 2014/07/15 17:30:26 fhajny Exp $

If using the rc.d init system, set the following variables in rc.conf:

memcached=YES
memcached_jobs="job0 ... jobN"
memcached_job0_args="-p 11211 -m 64 -c 1024"
...
memcached_jobN_args="-p 1121N -m 64 -c 1024"

to start as many memcached instances as desired with the required options.
PID files for each instance will be created in:

/var/chroot/memcached named as:

memcached-job0.pid ... memcached-jobN.pid.

===========================================================================
