Starting a program at boot
Antonio Olivares
olivares14031 at yahoo.com
Mon Jul 10 16:11:41 UTC 2006
--- Aaron Konstam <akonstam at sbcglobal.net> 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 at sbcglobal.net>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> 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
More information about the fedora-list
mailing list