Re: Starting a program at boot

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

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux