infrastructure/migrate-and-start-server.sh

8 lines
253 B
Bash
Raw Normal View History

2019-10-17 04:28:31 +00:00
#!/bin/bash
set -exu
2020-06-25 05:50:22 +00:00
for db in abusedb keysdb accountdb messagedb; do
echo "Migrating $db"
java -jar /usr/share/TextSecureServer.jar "$db" migrate /etc/signal-server.yaml
done
2019-10-17 04:28:31 +00:00
java -jar /usr/share/TextSecureServer.jar server /etc/signal-server.yaml