UberGTI
January 28th, 2009, 06:09 PM
Hi all,
I'm trying to add a vncserver script to start when my server boots. However, I can't seem to get it working. I read about upstart and how it replaces the inittab. However, also read that the rc#.d directory scripts will still be executed depending on the fictitious run level. However, it doesn work when I link to an init.d script from rc2.d.
Here is what I did. I create a script in /etc/init.d called vncserver. Then I linked to it from rc2.d and rebooted. Didn't work, nothing loaded. I don't have to do it this way. I just want to get my script to load a boot.
Thanks for your help.
I should also mention that when I manually execute /etc/init.d/rc 2 all works as expected.
I'm trying to add a vncserver script to start when my server boots. However, I can't seem to get it working. I read about upstart and how it replaces the inittab. However, also read that the rc#.d directory scripts will still be executed depending on the fictitious run level. However, it doesn work when I link to an init.d script from rc2.d.
Here is what I did. I create a script in /etc/init.d called vncserver. Then I linked to it from rc2.d and rebooted. Didn't work, nothing loaded. I don't have to do it this way. I just want to get my script to load a boot.
Thanks for your help.
I should also mention that when I manually execute /etc/init.d/rc 2 all works as expected.