1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Add wrapper scripts to easily get admin.cfg (#331)

* add small wrapper scripts to honor admin.cfg at /tmp/kopano
* add script to create stores (workaround to satisfy tests)
* add output of orphaned store list to startup test
This commit is contained in:
Felix Bartels
2020-02-04 08:07:49 +01:00
committed by GitHub
parent 4941b651b8
commit 8d0a0fd8f5
7 changed files with 22 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
/usr/sbin/kopano-admin --config /tmp/kopano/admin.cfg "$@"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
/usr/sbin/kopano-cli --config /tmp/kopano/admin.cfg "$@"
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
for kuser in $(kopano-storeadm -O | grep -A999999999 "Entities without stores:" | tail -n +4 | awk '{print $2}'); do
kopano-storeadm -n "$kuser" -C
done
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
/usr/sbin/kopano-storeadm -c /tmp/kopano/admin.cfg "$@"