10 lines
434 B
Bash
Executable file
10 lines
434 B
Bash
Executable file
#!/bin/bash
|
|
set -exu
|
|
if [[ "$1" == "version" ]]; then
|
|
java -jar /usr/share/TextSecureServer.jar -v
|
|
exit
|
|
fi
|
|
java -jar /usr/share/TextSecureServer.jar abusedb migrate /etc/signal-server.yaml
|
|
java -jar /usr/share/TextSecureServer.jar accountdb migrate /etc/signal-server.yaml
|
|
java -jar /usr/share/TextSecureServer.jar messagedb migrate /etc/signal-server.yaml
|
|
java -jar /usr/share/TextSecureServer.jar server /etc/signal-server.yaml
|