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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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 |
| ||||
| 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 |