View | Details | Raw Unified | Return to bug 198021
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	serviio
4
PORTNAME=	serviio
5
PORTVERSION=	1.5
5
PORTVERSION=	1.5
6
#PORTREVISION=	0
6
PORTREVISION=	1
7
CATEGORIES=	net multimedia java www
7
CATEGORIES=	net multimedia java www
8
MASTER_SITES=	http://download.serviio.org/releases/
8
MASTER_SITES=	http://download.serviio.org/releases/
9
EXTRACT_SUFX=	-linux.tar.gz
9
EXTRACT_SUFX=	-linux.tar.gz
(-)files/serviiod.in (-1 / +2 lines)
Lines 19-24 Link Here
19
# Setup Serviio specific properties
19
# Setup Serviio specific properties
20
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade -Dderby.system.home=/var/db/serviio -Dserviio.home=$HOME -Dffmpeg.location=%%LOCALBASE%%/bin/ffmpeg -Ddcraw.location=%%LOCALBASE%%/bin/dcraw"
20
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade -Dderby.system.home=/var/db/serviio -Dserviio.home=$HOME -Dffmpeg.location=%%LOCALBASE%%/bin/ffmpeg -Ddcraw.location=%%LOCALBASE%%/bin/dcraw"
21
JAVA_OPTS="${JAVA_OPTS} -Djcs.auxiliary.DC.attributes.DiskPath=/var/db/serviio"
21
JAVA_OPTS="${JAVA_OPTS} -Djcs.auxiliary.DC.attributes.DiskPath=/var/db/serviio"
22
JAVA_VERSION="1.8+"
22
23
23
# A kludge to get the -D... flags to Java, rather than to Serviio itself:
24
# A kludge to get the -D... flags to Java, rather than to Serviio itself:
24
for o in "$@"
25
for o in "$@"
Lines 31-35 Link Here
31
done
32
done
32
33
33
# Execute the JVM in the foreground
34
# Execute the JVM in the foreground
34
export HOME PATH
35
export HOME PATH JAVA_VERSION
35
exec java -Xmx512M -Xms20M -XX:+UseG1GC -XX:GCTimeRatio=1 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 $JAVA_OPTS -classpath "$SERVIIO_CLASS_PATH" org.serviio.MediaServer "$@" 2>&1 >/dev/null
36
exec java -Xmx512M -Xms20M -XX:+UseG1GC -XX:GCTimeRatio=1 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 $JAVA_OPTS -classpath "$SERVIIO_CLASS_PATH" org.serviio.MediaServer "$@" 2>&1 >/dev/null

Return to bug 198021