#!/bin/sh
ORIENT_HOME=@l_prefix@/var/orientdb
export ORIENT_HOME
exec @l_prefix@/bin/java \
    -server -Xms1024m -Xmx1024m \
    -XX:+UseParallelGC -XX:+AggressiveOpts -XX:CompileThreshold=200 \
    -Djava.util.logging.config.file="@l_prefix@/etc/orientdb/orientdb-server-log.properties" \
    -Dorient.log.level="warning" \
    -Dorient.config.file="@l_prefix@/etc/orientdb/orientdb-server-config.xml" \
    -Dorient.www.path="@l_prefix@/share/orientdb" \
    -jar @l_prefix@/lib/orientdb/orientdb-server.jar
