tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

sudo update-rc.d guvnor defaults is not working on my ubuntu machine #81

Open HERRKIN opened 8 years ago

HERRKIN commented 8 years ago

I installed guvnor following the docs so I did this

sudo ln -s /usr/local/lib/node_modules/guvnor/scripts/init/sysv/guvnor /etc/init.d/guvnor

it worked, it created the symlink but when I tiped this:

sudo update-rc.d guvnor defaults

the term replied update-rc.d: /etc/init.d/guvnor: file does not exist

achingbrain commented 8 years ago

Can you verify that the file /usr/local/lib/node_modules/guvnor/scripts/init/sysv/guvnor exists? Node may have put it's global node_modules directory somewhere else on your system.

HERRKIN commented 8 years ago

no, it doesn't exist, it exists in usr/lib instead of usr/local/lib

achingbrain commented 8 years ago

I'm guessing you installed node via apt-get - if so, you want to create the symbolic link to the correct place:

sudo ln -s /usr/lib/node_modules/guvnor/scripts/init/sysv/guvnor /etc/init.d/guvnor

See the note about apt-get in the README.