[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Starting a program at boot
- From: Aaron Konstam <akonstam sbcglobal net>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Starting a program at boot
- Date: Mon, 10 Jul 2006 09:13:04 -0500
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 sbcglobal net>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]