Barry K. Myrvold <[EMAIL PROTECTED]> wrote:
>I have a simple question. I made a change to my dhcp.conf file.
>According to the man page to get dhcp working with the new conf file
>I have to use a SIGTERM and the appropriate pid. How do I do this?
>What command do I issue?
Most services/daemons can be restarted by one of the following:
# /etc/rc.d/init.d/name_of_service restart
- or -
# /etc/rc.d/init.d/name_of_service stop
# /etc/rc.d.init.d/name_of_service start
It's generally easier than using 'kill -HUP pid_of_service'. Take a look
at the various scripts in /etc/rc.d/init.d and see what other options they
have - some have a "status" option. Other programs, notably squid, have
switches for the actual binary like so:
squid -k reconfigure
>If I do this while the network is running,
>will it affect the various machines, printers, etc. on the network?
Unless you've hosed your dhcpd.conf file, it won't be down long enough to
matter - a few seconds at most.
>In
>the future, where should I look for this type of general information?
A variety of places - the man pages, the init scripts mentioned above and
possibly /usr/doc/name_of_service are good places to start.
-Eric
Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]
Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.