The init script for databases/memcached doesn't allow you to run multiple copies, and if multiple copies are running on the system, it kills them when you restart, even if some of them were started by users. The attach patch changes this so that the init script supports "profiles" for running multiple copies, much the same way the apache init script does. Also, it adds pid file support so that it doesn't kill things that don't belong to it. You can of course still use it without using profiles too, but the pid file support is still there. Had to create a directory to store the pid files in since the nobody user doesn't have write permission to /var/run.
Fix: See attached.
Patch attached with submission follows:
Over to maintainer (via the GNATS Auto Assign Tool)
committer/maintainer timeout; over to submitter who has a commit bit.
swills 2011-07-01 22:33:09 UTC
FreeBSD ports repository
- add profiles support to init script
Submitted by: swills
Approved by: maintainer timeout (mnag)
Revision Changes Path
1.48 +4 -2 ports/databases/memcached/Makefile
1.5 +52 -2 ports/databases/memcached/files/memcached.in
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"