Can someone provide a sample upstart conf file for starting/stopping/restarting hypnotoad?
This isn't doing it. (I tried with and without -f)
description "mojo upstart job"
start on runlevel [2345]
stop on runlevel [!2345]
pre-start exec hypnotoad /data/web/mojo/router -f
pre-stop exec hypnotoad /data/web/mojo/router -f
post-stop exec hypnotoad /data/web/mojo/router -s