diff options
Diffstat (limited to 'serviio-console.sh')
-rw-r--r-- | serviio-console.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/serviio-console.sh b/serviio-console.sh new file mode 100644 index 0000000..976d59b --- /dev/null +++ b/serviio-console.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH | ||
4 | SERVIIO_CONSOLE_HOME="/usr/share/java/serviio" | ||
5 | SERVIIO_CLASS_PATH="$SERVIIO_CONSOLE_HOME/lib/*:$SERVIIO_CONSOLE_HOME/config" | ||
6 | JAVA_OPTS="-Dserviio.home=$SERVIIO_CONSOLE_HOME -Djava.net.preferIPv4Stack=true" | ||
7 | |||
8 | java -Xmx512M $JAVA_OPTS -classpath $SERVIIO_CLASS_PATH org.serviio.console.ServiioConsole "$@" | ||