-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Startup script does not initialize on Debian Dreamhost VPS #296
Comments
After looking into update-rc.d, line ~417 is: my $rc = system("insserv", @opts, $scriptname) >> 8;
if (0 == $rc && !$notreally) {
save_last_action($scriptname, @orig_argv);
}
error_code($rc, "insserv rejected the script header") if $rc;
exit $rc; Try to symlink simpleuser$ insserv
simpleuser$ insserv: command not found but |
I have symlinked the shit out of insserv, everywhere, and I still cannot get this to run. I have added a ton of stuff to my PATH as well. Still same error as before. |
Does Maybe you should try to do it manually: $ cd /tmp
$ wget https://raw.github.com/Unitech/pm2/master/lib/scripts/pm2-init.sh
$ mv pm2-init.sh /etc/init.d/pm2-init.sh
$ chmod +x /etc/init.d/pm2-init.sh
$ update-rc.d pm2-init.sh defaults |
#289 related |
#548 should resolve this, let me know if it doesn't |
Here is my initial output:
So I then added /usr/sbin to my path based on some google searching and that got me to this:
I feel like I have just entered a rabbit hole.
I am not sure if this is an error with Debian, PM2, Dreamhost or what. If anyone has any suggestions, I am all ears.
The text was updated successfully, but these errors were encountered: