Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HERRKIN opened this issue Nov 9, 2015 · 3 comments
Open

Comments

@HERRKIN
Copy link

HERRKIN commented Nov 9, 2015

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
Copy link
Member

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
Copy link
Author

HERRKIN commented Nov 9, 2015

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

@achingbrain
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants