LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 05-29-2008, 10:14 AM   #1
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
Autostartup application


In Red Hat 9 I'd wish to start automatically at boot (with no need to log in) an application (/usr/local/bin/sarad). How can I do the job? Many thanks.
 
Old 05-29-2008, 10:44 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Do you mean RedHat 9 (the old distribution) or Fedora 9 (the newest from Fedora series)? I just ask because sometimes people mix up the two and talk about "RedHat" versions when they really mean Fedora Core (up to version 6) or Fedora (from version 6 on) versions..

Anyway, you can have it start by adding it to the init (boot) scripts. I assume there's a /etc/rc.local or equivalent script that is run after all the other boot scripts, so you could just add /usr/local/bin/sarad to that script and it should be run after the other boot scripts are finished, independently of anybody logging in or not.

EDIT: you should edit your profile information and add there the operating system/distribution you are using; it helps answering your possibly distribution-specific questions.
 
Old 05-29-2008, 11:42 AM   #3
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
It works fine! Great!
Many thanks.

P.S. It was Red Hat 9
 
Old 05-29-2008, 08:03 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
To follow up from b0uncer, that's a really old unsupported, un-updated distro.
Do not use it on the internet, for your own safety.
If you must, then pls upgrade to eg Fedora (probably v8, as 9 has only just come out), or Centos (free ver of RHEL).
 
Old 05-30-2008, 02:35 AM   #5
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
The problem is that the application is very old and it doesn't actually runs on more recent Linux versions, Red Hat is the only one that works. Anyway I have installed it on a virtual machine to host this application and it's connected only to a small private Intranet.

Last edited by VictorLemar; 05-30-2008 at 02:40 AM.
 
  


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
java aplication autostartup hua Linux - General 1 05-13-2008 09:37 AM
send signal to privileged application from unprivileged application aral Programming 5 10-27-2006 12:34 PM
fbdesk for fluxbox autostartup eastsuse Linux - Newbie 6 04-30-2005 12:11 AM
X autostartup in RH8 darchon Linux - General 12 03-25-2003 07:47 PM
autostartup problems mark_888 Linux - General 1 03-10-2001 10:03 AM


All times are GMT -5. The time now is 05:24 AM.

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