LinuxQuestions.org
Help answer threads with 0 replies.
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 05-19-2004, 07:06 AM   #1
irfan44
LQ Newbie
 
Registered: May 2004
Location: pak
Distribution: linux
Posts: 2

Rep: Reputation: 0
Auto run at bootup


I have install an application (smokeping). When i reboot the machine i have to enter the command:

/usr/local/Smokeping ./bin/Smokeping

to run the application. I want that this command will auto run at bootup.

Please any one help me


regards,

irfan
 
Old 05-19-2004, 07:24 AM   #2
juliettree
LQ Newbie
 
Registered: Apr 2004
Location: Kent, UK
Posts: 12

Rep: Reputation: 0
Have you tried inserting that command into your rc.local file?

This is where I put all my non standard agents/applications I need starting.
Just insert the line as you would on a command line.
 
Old 05-19-2004, 07:30 AM   #3
hollerith
Member
 
Registered: Jan 2004
Location: Europe
Distribution: gentoo-dev 2004
Posts: 50

Rep: Reputation: 16
You're after information about runlevels and init scripts on which I'm not hot. I presume smokeping is some sort of service?

I set up GKrellm at startup via Gnome on RH9. Sorry - my short-term memory is shot to hell.

If you haven't found anything on the net for your distro post back and I'll have a look for you.

Someone will know.
 
Old 05-19-2004, 07:52 AM   #4
naren
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
U can make it in in /etc/rc.d/rc.local
as told my others
It is the script that will be executed after all the init scripts will be executed

touch /var/lock/subsys/local is the famous one to be added
 
Old 05-19-2004, 09:23 AM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
/etc/rc.d/rc.local is a file specific to distro's that use BSD style bootscripts (like Slack or College). If the original poster is using a distro that uses SysVinit style scripts (like Fedora or Mandrake) then the specifics are different http://lfs.securewebservices.co.uk/l...r07/usage.html
 
Old 05-20-2004, 05:40 AM   #6
hollerith
Member
 
Registered: Jan 2004
Location: Europe
Distribution: gentoo-dev 2004
Posts: 50

Rep: Reputation: 16
What I meant was that it is possible with RH9 to have a start without hand-crafting run-levels and init scripts i.e. via some Gnome app.
 
Old 05-21-2004, 08:44 AM   #7
irfan44
LQ Newbie
 
Registered: May 2004
Location: pak
Distribution: linux
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by juliettree
Have you tried inserting that command into your rc.local file?

This is where I put all my non standard agents/applications I need starting.
Just insert the line as you would on a command line.


Thank u very much, it worked

i insert following in rc.local file

cd /usr/local/Smokeping (i.e directory path )
./bin/Smokeping (then the command)
 
  


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 mounting ~ binding directories at bootup. caged Mandriva 2 11-28-2005 07:54 PM
auto send email at bootup carboncopy Linux - Software 7 01-30-2005 12:39 AM
Auto starting, mounting at bootup 2nd2none Linux - General 5 04-05-2004 09:58 AM
Auto mounting NTFS drive on bootup JellyStones Linux - General 2 02-11-2004 07:37 AM
Auto Logon and Auto Run OKCHelpDesk Linux - General 0 05-03-2002 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration