A few useful debugging scripts
parent
9f6d82f60b
commit
d25d3225cb
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
#For when you've built the monitoring plugin locally and want this in your next stack
|
||||
cp ../openfire-monitoring-plugin/target/monitoring-openfire-plugin-assembly.jar ./xmpp/clustered/1/plugins/monitoring.jar
|
||||
cp ../openfire-monitoring-plugin/target/monitoring-openfire-plugin-assembly.jar ./xmpp/clustered/2/plugins/monitoring.jar
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
docker exec -t openfire-docker-compose_xmpp1_1 cat /usr/local/openfire/logs/all.log > 1all.log
|
||||
docker exec -t openfire-docker-compose_xmpp2_1 cat /usr/local/openfire/logs/all.log > 2all.log
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
# Get a dump of the Openfire database in db_1 to peek at
|
||||
docker exec -t openfire-docker-compose_db_1 pg_dump -U openfire openfire > peek.sql
|
Loading…
Reference in New Issue