Installs memcached and provides a define to set up an instance of memcache via runit.
Tested on Ubuntu 8.10. Uses the memcached package but disables the service and uses runit, see below.
Opscode cookbooks, github.com/opscode/cookbooks/tree/master:
-
runit
The following are node attributes passed to the template for the runit service.
-
memcached - maximum memory for memcached instances.
-
memcached - user to run memcached as.
-
memcached - port for memcached to listen on.
Use the define, memcached_instance, to set up a runit service for the named memcached instance.
memcached_instance "myproj"
- Author
-
Joshua Timberman (<[email protected]>)
- Author
-
Joshua Sierles (<[email protected]>)
- Copyright
-
2009, Opscode, Inc
- Copyright
-
2009, 37signals
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.