mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Switch riak backend to leveldb on travis
This commit is contained in:
parent
c05626a1ba
commit
b6b70ec0d4
@ -34,6 +34,8 @@ before_script:
|
|||||||
- echo 'ulimit -n 4096' > riak
|
- echo 'ulimit -n 4096' > riak
|
||||||
- sudo mv riak /etc/default/riak
|
- sudo mv riak /etc/default/riak
|
||||||
- mkdir "$PWD/ebin"
|
- mkdir "$PWD/ebin"
|
||||||
|
- sed 's/^storage_backend.*/storage_backend = leveldb/' /etc/riak/riak.conf > riak.conf
|
||||||
|
- sudo mv riak.conf /etc/riak/riak.conf
|
||||||
- echo "[{riak_kv, [{add_paths, [\"$PWD/ebin/\"]}]}]." > advanced.config
|
- echo "[{riak_kv, [{add_paths, [\"$PWD/ebin/\"]}]}]." > advanced.config
|
||||||
- sudo mv advanced.config /etc/riak/advanced.config
|
- sudo mv advanced.config /etc/riak/advanced.config
|
||||||
- sudo service riak restart
|
- sudo service riak restart
|
||||||
|
Loading…
Reference in New Issue
Block a user