[webstack-discuss] memcached and multiple instances

Ceri Davies ceri at submonkey.net
Fri Nov 28 07:15:44 PST 2008


We recently needed to create multiple instances of memcached, and the
method script delivered with ident "@(#)memcached 1.2 08/03/29 SMI"
didn't allow this.

We had to change getproparg() from:

getproparg() {
val=`svcprop -p "$1" memcached`
[ -n "$val" ] && echo "$val"
}

to:

getproparg() {
val=`svcprop -p "$1" $SMF_FMRI`
[ -n "$val" ] && echo "$val"
}

This probably has been fixed already, but thought I'd ping you just in
case.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20081128/95df4908/attachment.bin>


More information about the webstack-discuss mailing list