Re: Starting a program at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:

> On Mon, 2006-07-10 at 22:09 +0930, Tim wrote:
> > On Mon, 2006-07-10 at 12:15 +0100, Paul Ward
> wrote:
> > > Just a quick question, I have installed darkstat
> on my pc but would
> > > like to to have it start at boot time. My
> prefered way would be by a
> > > service in /etc/init.d however darkstat does not
> have one installed
> > > and runs as /usr/sbin/darkstat
> > 
> > Take a look at:  /etc/rc.local
> > 
> > Or you could figure out how to make your own
> /etc/init.d scripts.
> > Sorry, I have no clues about that one, I've only
> been considering it so
> > far.
> > 
> > -- 
> 
> Although starting it in /etc/rc.local is fine it is
> easy to create an initscript to do this and
> this method has more flexibility of controlling at
> what run levels the
> program is run. Look and any intscript and you will
> get  the general
> format. Notice the comments at the beginning that
> control how chkconfig
> will treat the file and the order in which the
> program will be started
> and stopped relative to other programs. The higher
> the 2 digit number
> the later the start
> -- 
> Aaron Konstam <akonstam@xxxxxxxxxxxxx>
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> 

You can take a look here
http://www.netadmintools.com/art94.html

and create your service using chkconfig.  Else just
use rc.local.

Regards,

Antonio

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux