Auto startup
i am having one linux box.yesterday i was installed a shutcast server(from winamp) in my box.it is working fine,but every time i want start it manually
./sc_serv.Is it possible to start that one automatically next boot time. |
Most Linux distros have a file /etc/rc.d/rc.local for you to put startup scripts in.
|
Syntax
ok for example my execuble is in ~/shoutcast/./sc_serv.how can i give this file in /etc/rc.d/rc.local.What is the syntax .
|
there are several ways, depending on your distribution. you can probably add the command you need to start the program to the end of /etc/rc.d/rc.local if that file exists.
|
In redhat
ok for example my execuble is in ~/shoutcast/./sc_serv.how can i give this file in /etc/rc.d/rc.local.What is the syntax .
Iam using redhat 9 |
Just replace the tilde character with the path to your home directory, e.g.
~/shoutcast/./sc_serv should be /home/<user>/shoutcast/./sc_serv |
All times are GMT -5. The time now is 04:17 PM. |