help with an init script

Xavier Noria fxn at
Thu Nov 10 05:01:09 EST 2011

Hey, I have this pretty standard init script for Unicorn


   fxn at cohen:~$ ls -la /etc/init.d/unicorn_home
   lrwxrwxrwx 1 root root 32 2011-11-09 23:45 /etc/init.d/unicorn_home
-> /home/fxn/home/config/

   fxn at cohen:~$ ls -la $HOME/.rvm/bin/ruby
   -rwxrwxr-x 1 fxn sudo 265 2011-11-09 21:44 /home/fxn/.rvm/bin/ruby

and $APP_ROOT/bin/unicorn_rails is a binstub created by bundler.

The init script works like a charm if I run it with sudo, but for some
reason the service is not launched if the machine is rebooted.

Do you know what could happen or how could I debug it? dmesg | grep
unicorn prints nothing.

More information about the mongrel-unicorn mailing list