Hi,

I am trying to start a driver app as a daemon using Linux' start-stop-daemon 
script (I need console detaching, unbuffered STDOUT/STDERR to logfile and 
start/stop using a PID file).

I am doing this like this (which works great for the other apps we have)

/sbin/start-stop-daemon -c $USER --background --exec /bin/bash --pidfile 
${PIDFILE} --start \
-- -c "stdbuf -o0 /opt/spark-1.4.0-bin-custom-spark/bin/spark-submit --master 
spark://sparkhost-1:7077 \
--class boot.Boot /myjar.jar $OPTS 2>&1 | /usr/bin/logger  -p local4.notice -t 
mytag"

Can anyone see an issue why this might bot work?

Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to