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

Re: how stop the dns service?



Hello

Felipe Martins (<listas@cenapadne.br>) wrote:

> in  RedRat there is command 'service' to start, restart, stop and
> verify status of services. - which command in debian is equivalent?
> - how can i verify which services are running?
> - is it possible to avoid a service being started during boot or
> machine initialization?

Most services have a script located in /etc/init.d that normally
understands at least the start and stop parameters. Some services are
by default started through the inetd. In that case you can take a look
at /etc/inetd.conf.

If you want to prevent a service from being started, you can remove the
S??servicename link from the directory of the runlevel you want to
change. By default Debian boots into runlevel 2, so you should at least
remove it from /etc/rc2.d. You can also install rcconf, which lets you
select which servies to start.

best regards
        Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: