4

Daemon crashes but upstart thinks it is still alive

view full story
linux-howto

http://serverfault.com – I have to following problem: We have an Java application which is started by an bash script. This application should run as a daemon, so we have an upstart-job to start it. start on runlevel [2345] stop on runlevel [!2345] #tell upstart we will fork later, so it will mangage the pids. expect fork #If the daemon stoppes unexpectedly, restart it! respawn script #The framework will only work, if we start it from this directory. cd /usr/lib/app-dir nohup ./appStartScript.sh &> /dev/null & #send an upstart event, in case we will cha (HowTos)