Created
December 2, 2014 18:02
-
-
Save demofly/3290c2dec8ff5cfb8698 to your computer and use it in GitHub Desktop.
Riak memcache init.d commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sleep 1s | |
curl -XPUT http://127.0.0.1:8098/buckets/memcache_15min/props \ | |
-H "Content-Type: application/json" \ | |
-d '{"props":{"backend":"memcache_15min"}}' | |
curl -XPUT http://127.0.0.1:8098/buckets/memcache_30min/props \ | |
-H "Content-Type: application/json" \ | |
-d '{"props":{"backend":"memcache_30min"}}' | |
curl -XPUT http://127.0.0.1:8098/buckets/memcache_2h/props \ | |
-H "Content-Type: application/json" \ | |
-d '{"props":{"backend":"memcache_2h"}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment