LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 10-28-2004, 05:30 AM   #1
binumvk
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 24

Rep: Reputation: 15
Cool 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.
 
Old 10-28-2004, 06:22 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Most Linux distros have a file /etc/rc.d/rc.local for you to put startup scripts in.
 
Old 10-28-2004, 06:46 AM   #3
binumvk
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 24

Original Poster
Rep: Reputation: 15
Smile 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 .
 
Old 10-28-2004, 06:48 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
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.
 
Old 10-28-2004, 06:55 AM   #5
binumvk
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 10-29-2004, 06:15 AM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Just replace the tilde character with the path to your home directory, e.g.

~/shoutcast/./sc_serv
should be
/home/<user>/shoutcast/./sc_serv
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Startup Program for KDE technobarbie Linux - Software 1 04-14-2004 08:26 PM
Auto startup ndiswrapper VenimK Linux - Wireless Networking 1 02-29-2004 06:15 PM
Disable auto login at startup x ferry.hidayat Linux - Newbie 2 10-03-2003 10:32 AM
Auto-mounting drives at startup MandrakeDave Linux - General 7 09-29-2003 06:19 PM
auto connection on browser startup. rooman Linux - Software 2 06-12-2002 04:30 PM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration