#
# Default options for iris3dviewd
#
# This file is sourced from /etc/init.d/iris3dviewd

# Command line options for the background process
# NOTE: --daemon must be present in order to run the task on background
OPTIONS="--loglevel=2 --daemon" 

# X Display (used with Xvfb)
#
# If number is not found in /etc/init.d/xvfb, assign the Xvfb default (99)
#
display=`grep -Ei -m 1 "^display=[[:digit:]]{1,3}$" /etc/init.d/xvfb  | cut -d = -f 2`
if [ -n $display ]; 
then
	DISPLAY=:$display;
else
	DISPLAY=:99;
fi
export DISPLAY

# user and user group to run the background task
BG_USER=iris3d
BG_GROUP=iris3d


