memcached startup.item
Brandon S Allbery KF8NH
allbery at kf8nh.com
Mon Aug 30 18:29:19 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/30/10 19:13 , Bradley Giesbrecht wrote:
> I want to start more then one instance of memcached each on a different port.
>
> Does daemondo have this capability in one plist?
>
> Something like:
>
> <key>Instances</key>
> <array>
> <string>-p 11211</string>
> <string>-p 11212</string>
> <string>-p 11213</string>
> <string>-p 11214</string>
> </array>
>
> where daemondo would loop through each of the instances appending them to
> the rest of the program args.
I would expect to use a single string with all of those combined:
<key>Instances</key>
<array>
<string>-p 11211 -p 11212 -p 11213 -p 11214</string>
</array>
...assuming memcached allows you to do that; if you need to run separate
memcached processes for each, then I suspect you will need to do so in
separate plists to keep launchd happy.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkx8Wu8ACgkQIn7hlCsL25UZaACgmeD8tHY/P5TWclh/mr9joT/C
bMcAniX0dxE6VMC5J5BkFJRtvSr9pfFW
=b255
-----END PGP SIGNATURE-----
More information about the macports-users
mailing list