summarylogtreecommitdiffstats
path: root/jotasync.sh
blob: 10c19ac2d27c8023a4f827094d0eb7e4dfe8153a (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if ! /usr/bin/java -version 2>&1 | grep 'version "1.8' >/dev/null
then
	echo "jotasync requires Java 8" >&2
	exit 1
fi

#unset JAVA_TOOL_OPTIONS
exec /usr/bin/java -jar '/usr/share/java/jotasync/jotasync.jar' "$@"