Skip to content

Instantly share code, notes, and snippets.

@jferris
Created March 25, 2011 20:37
Show Gist options
  • Select an option

  • Save jferris/887591 to your computer and use it in GitHub Desktop.

Select an option

Save jferris/887591 to your computer and use it in GitHub Desktop.
bash -c "echo -e 'daemonize yes\npidfile /var/run/redis.pid\nport 6379\ntimeout 300\nloglevel notice\nlogfile stdout\ndatabases 16\nsave 900 1\nsave 300 10\nsave 60 10000\nrdbcompression yes\ndbfilename dump.rdb\ndir /var/redis\nappendonly no\nappendfsync everysec\nvm-enabled no\nvm-swap-file /tmp/redis.swap\nvm-max-memory 0\nvm-page-size 32\nvm-pages 134217728\nvm-max-threads 4\nglueoutputbuf yes\nhash-max-zipmap-entries 64\nhash-max-zipmap-value 512\nactiverehashing yes\n' > /etc/redis/6379.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment