infrastructure/migrate-and-start-server.sh
2020-06-24 22:50:22 -07:00

7 lines
253 B
Bash
Executable file

#!/bin/bash
set -exu
for db in abusedb keysdb accountdb messagedb; do
echo "Migrating $db"
java -jar /usr/share/TextSecureServer.jar "$db" migrate /etc/signal-server.yaml
done
java -jar /usr/share/TextSecureServer.jar server /etc/signal-server.yaml