# CAESES LFL Server - Upstart config file
# FRIENDSHIP SYSTEMS
# last mod: lorentz 2015-03-25 

# put this content into the Upstart Script Folder
# /etc/init.d/CAESESlfl_upstart

description     "CAESES LFL Server"
author          "Konrad Lorentz <lorentz@friendship-systems.com>"

#start on (local-filesystems and net-device-up IFACE!=lo)
#start on runlevel [2345]
start on started network-services
stop on runlevel [016]

console log

CAESESBASE=/opt/CAESES
OPTS="-p 8080"

exec $CAESESBASE/bin/Linux.x86_64/ffloatsrv $OPTS

respawn
respawn limit 5 60
