Split out shutting down redis after upgrade to its own exec, which should make the install exec work correctly on first deploy.
Allow file descriptor increase in initscript
Doc fixes
zomg whitespace
Checks for empty slaves array before potentially writing out empty array that causes redis to refuse to start.
Fix slaves in redis.conf

It's not really clear how this ever worked, but options[:slaves].each
would always return options[:slaves], which gets output to ERB.

Fixed this by change it to being options[:slave].join("\n"), which is
all the .each was doing anyways
Adds restart_on_change config setting, sets default version to 2.4.17, and removes virtual memory settings for 2.6
Because moving redis_restart_on_change to the top seems to matter.
Adds redis_config_boolean to remove confusion from moonshine.yml.
Added configuration options to README, added redis_supports_virtual_memory? and other feedback from pull request.
Merge pull request #7 from railsmachine/restart-on-change-2.6-updates

Restart on change 2.6 updates
Fix redis_supports_virtual_memory? when no version specified
Added vm.overcommit_memory details to the README.
Changes URL to download redis from.
Updates blessed version and fixes version test.
Fix output of  array settings.
Change for maxclients, now not set unless it's in configuration.'
maxclients now not set until contained in configuration.
Merge branch 'master' of https://github.com/railsmachine/moonshine_redis

* 'master' of https://github.com/railsmachine/moonshine_redis:
  Change for maxclients, now not set unless it's in configuration.'
  Fix output of  array settings.
  Updates blessed version and fixes version test.
  Changes URL to download redis from.
  Added vm.overcommit_memory details to the README.
  Fix redis_supports_virtual_memory? when no version specified
  Added configuration options to README, added redis_supports_virtual_memory? and other feedback from pull request.
  Adds redis_config_boolean to remove confusion from moonshine.yml.
  Because moving redis_restart_on_change to the top seems to matter.
  Adds restart_on_change config setting, sets default version to 2.4.17, and removes virtual memory settings for 2.6
  Fix slaves in redis.conf
  Checks for empty slaves array before potentially writing out empty array that causes redis to refuse to start.
  zomg whitespace
  Doc fixes
  Allow file descriptor increase in initscript
  Split out shutting down redis after upgrade to its own exec, which should make the install exec work correctly on first deploy.
Add maxmemory-policy directive

This allows for using Redis as an LRU cache.

DHHes LOVE LRU caches.