A question about hosts files

Guus Sliepen guus at tinc-vpn.org
Tue Feb 6 12:42:18 CET 2007


On Tue, Feb 06, 2007 at 12:37:21PM +0100, EleGoS wrote:

> >>Sorry for 'upping' this reply, but I was interested in one thing: about 
> >>the HUP signal on linux... As far as I know tincd will restart, so all 
> >>clients will be disconnected by the server, or not? If yes, is there a 
> >>way to reload tinc.conf without killing the process?
> >
> >No, the HUP signal will not restart tinc, it will reread tinc.conf,
> >create new connections if you added ConnectTo statements, and it will
> >close connections to hosts if you removed their host config file. For
> >some changes (like changing the Mode or the Name), a HUP is not enough,
> >you need to restart tinc completely then.
> 
> And a stupid question as I'm really new to linux world: how to give this 
> signal?

In general, by using the kill command (man kill). For tinc, use the -k
option:

tincd -n netname -kHUP

Other signals tinc accepts are described in the tincd manpage.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20070206/35c23b4f/attachment.pgp


More information about the tinc mailing list