[program:freight-xd]
command=/usr/bin/java -jar -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=512m -Xms6144m -Xmx6144m -Xmn2048m -Xss512k -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -javaagent:/srv/newrelic/xd/freight/newrelic.jar -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/var/log/freight-xd/gc.log -XX:+UseGCLogFileRotation -XX:GCLogFileSize=100M -XX:NumberOfGCLogFiles=20 -Dspring.cloud.consul.discovery.prefer-ip-address=true freight.jar
numprocs=1
numprocs_start=0
priority=999
autostart=true
autorestart=unexpected
startsecs=3
startretries=10
exitcodes=0,2
stopsignal=TERM
stopwaitsecs=20
directory=/srv/xd/freight
user=root
stopasgroup=false
killasgroup=false
redirect_stderr=true
stdout_logfile=/var/log/freight-xd/freight.access.log
stdout_logfile_maxbytes=500MB
stdout_logfile_backups=15
stderr_logfile=/var/log/freight-xd/freight.error.log
stderr_logfile_maxbytes=500MB
stderr_logfile_backups=10