diff options
author | Yigit Sever | 2024-07-05 16:35:58 +0300 |
---|---|---|
committer | Yigit Sever | 2024-07-05 16:35:58 +0300 |
commit | e616862c7bef33812ea84f809a00e83fe24078c3 (patch) | |
tree | 17f65f055dffcde57e1ba1f1669c46c98c45260b /serviio.sh | |
parent | 32a13461618e213af6e59e0ec04e1e5ffdb82122 (diff) | |
download | packages-e616862c7bef33812ea84f809a00e83fe24078c3.tar.gz packages-e616862c7bef33812ea84f809a00e83fe24078c3.tar.bz2 packages-e616862c7bef33812ea84f809a00e83fe24078c3.zip |
Remove laying around serviio
Diffstat (limited to 'serviio.sh')
-rw-r--r-- | serviio.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/serviio.sh b/serviio.sh deleted file mode 100644 index 3293258..0000000 --- a/serviio.sh +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | if [ "$(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 "$@" | ||
15 | else | ||
16 | echo "Must be run as root." | ||
17 | fi | ||