Super delayed response here but you need to add the "-f" after hypnotoad not after your script.
hypnotoad -f /data/web/mojo/router On Wednesday, February 5, 2014 at 4:22:04 PM UTC-7, Stefan wrote: > > 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 > > > On Monday, May 14, 2012 6:44:10 AM UTC-5, koorchik wrote: >> >> -f, --foreground Keep manager process in foreground. >> >> 2012/5/14 Konstantin Cherkasoff <[email protected]>: >> > Hi All! >> > Can I get hypnotoad to NOT become a daemon and stay connected with >> parent >> > process? >> > It is useful when running under superdaemon control like upstart. >> >> -- >> Viktor Turskyi >> http://webbylab.com >> http://koorchik.blogspot.com >> > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
