Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-28-2004, 04:30 AM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: India
Posts: 24
Rep:
|
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.
|
|
|
10-28-2004, 05:22 AM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
Most Linux distros have a file /etc/rc.d/rc.local for you to put startup scripts in.
|
|
|
10-28-2004, 05:46 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: India
Posts: 24
Original Poster
Rep:
|
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 .
|
|
|
10-28-2004, 05:48 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
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.
|
|
|
10-28-2004, 05:55 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: India
Posts: 24
Original Poster
Rep:
|
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
|
|
|
10-29-2004, 05:15 AM
|
#6
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
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 06:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|