script when server startup
Hi all,
I has one script which i would like to run this script when server startup. But i don't know How to run its? Please,sucess me. OS: Redhat AS4 update1 |
Copy the file to the /etc/init.d/ directory and make a symlink to that file in the /etc/rc5.d/ and /etc/rc3.d/ directories.
|
Thank you very much.
|
Uhm it is distro dependent and not that simple, just symlinking doesn't work. Redhat used to have a command for that (forgot what it was), Debian does it with update-rc.d. You have to specify the base name, run levels and load priority.
jlinkels |
All times are GMT -5. The time now is 01:08 AM. |