Unix Technical Forum

Starting services automatically at boot

This is a discussion on Starting services automatically at boot within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I'm sure there is something simple, here, or maybe I need to emerge a package, but... I'm coming from ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:24 AM
Brian Fistler
 
Posts: n/a
Default Starting services automatically at boot

I'm sure there is something simple, here, or maybe I need to emerge a
package, but...

I'm coming from a Mandrake backgroud... When a service is defined in
/etc/init.d/ to have the application start you do a "chkconfig
<service_name> on" (or OFF, and allows you to specify the run levels
also for on or off) and it sets it to start at the run levels defined in
the file in the init.d folder...

Is there an equivelent command in gentoo, or where do I look to have a
service start automatically (sshd for example)

Thanks

Brian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:24 AM
DuchovnySexBomb
 
Posts: n/a
Default Re: Starting services automatically at boot

On Thu, 24 Feb 2005 19:55:02 -0600, Brian Fistler wrote:

> I'm sure there is something simple, here, or maybe I need to emerge a
> package, but...
>
> I'm coming from a Mandrake backgroud... When a service is defined in
> /etc/init.d/ to have the application start you do a "chkconfig
> <service_name> on" (or OFF, and allows you to specify the run levels
> also for on or off) and it sets it to start at the run levels defined in
> the file in the init.d folder...
>
> Is there an equivelent command in gentoo, or where do I look to have a
> service start automatically (sshd for example)


`rc-update add <service> default` should do the trick for you.

- dsb


--
"My doctor says that I have a malformed public-duty gland and a natural
deficiency in moral fibre, and that I an therefore excused from saving
Universes." -- Ford Prefect

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:24 AM
Brian Fistler
 
Posts: n/a
Default Re: Starting services automatically at boot

On Thu, 24 Feb 2005 21:30:09 -0500, DuchovnySexBomb wrote:

> On Thu, 24 Feb 2005 19:55:02 -0600, Brian Fistler wrote:
>
>> I'm sure there is something simple, here, or maybe I need to emerge a
>> package, but...
>>
>> I'm coming from a Mandrake backgroud... When a service is defined in
>> /etc/init.d/ to have the application start you do a "chkconfig
>> <service_name> on" (or OFF, and allows you to specify the run levels
>> also for on or off) and it sets it to start at the run levels defined in
>> the file in the init.d folder...
>>
>> Is there an equivelent command in gentoo, or where do I look to have a
>> service start automatically (sshd for example)

>
> `rc-update add <service> default` should do the trick for you.
>
> - dsb


Thanks!

Just an all new learning curve here for a few things.

Brian



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:24 AM
Peter Jensen
 
Posts: n/a
Default Re: Starting services automatically at boot

Brian Fistler wrote:

>> `rc-update add <service> default` should do the trick for you.

>
> Thanks!
>
> Just an all new learning curve here for a few things.


And the Gentoo handbook has extensive coverage of everything you're
likely to need. For instance, this is covered in section 2, chapter 4:

http://www.gentoo.org/doc/en/handboo...?part=2&chap=4

--
PeKaJe

Linux is not a desktop OS for people whose VCRs are still flashing "12:00".
-- Paul Tomblin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com