summaryrefslogtreecommitdiffstats
path: root/serviio/serviio.sh
diff options
context:
space:
mode:
authorYigit Sever2024-06-10 16:43:23 +0300
committerYigit Sever2024-07-05 16:16:55 +0300
commitc00f2ea9117881e8453ca45e8bafae00082264f4 (patch)
tree70815fbd502373220b83ef8c5e223164f9f94e8f /serviio/serviio.sh
parenta9dd2a63cba870795e31ca9f48de1d6ec5cf95aa (diff)
downloadpackages-c00f2ea9117881e8453ca45e8bafae00082264f4.tar.gz
packages-c00f2ea9117881e8453ca45e8bafae00082264f4.tar.bz2
packages-c00f2ea9117881e8453ca45e8bafae00082264f4.zip
Deleted package: serviio
Deleted package: serviio
Diffstat (limited to 'serviio/serviio.sh')
-rw-r--r--serviio/serviio.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/serviio/serviio.sh b/serviio/serviio.sh
deleted file mode 100644
index 3293258..0000000
--- a/serviio/serviio.sh
+++ /dev/null
@@ -1,17 +0,0 @@
1#!/usr/bin/env bash
2
3if [ "$(id -u)" -eq "0" ]; then
4 if [ -f /etc/profile.d/jdk.sh ]; then
5 . /etc/profile.d/jdk.sh
6 elif [ -f /etc/profile.d/jre.sh ]; then
7 . /etc/profile.d/jre.sh
8 fi
9 export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
10 SERVIIO_HOME="/usr/share/java/serviio"
11 SERVIIO_CLASS_PATH="$SERVIIO_HOME/lib/*:$SERVIIO_HOME/config"
12 JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME -Dffmpeg.location=ffmpeg"
13
14 java -Xmx384M $JAVA_OPTS -classpath $SERVIIO_CLASS_PATH org.serviio.MediaServer "$@"
15else
16 echo "Must be run as root."
17fi