re-reading a config file
Jason Clinton
me at jasonclinton.com
Fri Feb 6 20:59:16 CST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rusty wrote:
| Isn't there some way to get a service to re-read its configuration file
| OTHER than stopping and restarting the service? I seem to remember that
| being a possibility, but can't remember the command(s) that work. (I
| know this isn't a lot of information, but I was having a discussion
| with a friend, had some memory of this being possible, but can't
| remember any details.) TIA for any help.
kill -SIGHUP pid
Often times the server has a process ID file in /var/run; in that case,
you can "kill -SIGHUP `cat /var/run/server.pid`" which will go grab the
process ID and append it to the SIGHUP command. Don't forget the
backticks ("`").
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAJAAitSqjk42zvwkRArCaAJ43xKsSPlBfKON2RQO+hDxLPogOXACePTvC
xL/FBj80kQDdKhnGP/DSxIY=
=7jNH
-----END PGP SIGNATURE-----
More information about the Kclug
mailing list