I am trying configure unicorn + nginx in my ubunton 10.04 in linode for deploy my rails app and when I execute the command:
sudo update-rc.d unicorn_app defaults
I get the next error:
update-rc.d: /etc/init.d/unicorn_app: file does not exist
However I can see the unicorn_app
file in init.d
folder. The unicorn_app
file color is red with background grey in ubuntu terminal.
How can I fix this problem?
I guess the "red" colour in LS means that unicorn_app is a broken symbolic link. Please try ls -l /etc/init.d/unicorn_app
, see if the file it points to exist or not.
In addition, you may run file /etc/init.d/unicorn_app
to see if it is a broken symbolic link or not.