scripts/couchdb_start_replication
author Tomas Zeman <zeman@sloane.cz>
Sun, 15 May 2011 09:22:03 +0200
changeset 13 fd71994b6ce0
parent 10 5183f2628cd2
child 17 9505016b06d7
permissions -rwxr-xr-x
scripts/run-cron: zabbix-friendly cron scripts runner
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
5183f2628cd2 couchdb replication monitoring
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     1
#!/bin/sh
5183f2628cd2 couchdb replication monitoring
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     2
curl -X POST http://localhost:5985/_replicate -d '{"source":"http://127.0.0.1:25984/tt2sloane/", "target":"miracle2sppt", "continuous":true}'