From 92938c07b17fdd30f4e7f9ae1b884b05c7aa312c Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 2 Aug 2003 21:55:12 +0000 Subject: [PATCH] Explain how tinc detaches and how it is "killed" under Windows. --- doc/tinc.texi | 17 +++++++++++------ doc/tincd.8 | 4 ++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/doc/tinc.texi b/doc/tinc.texi index 2abc86c5..843074a8 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1,5 +1,5 @@ \input texinfo @c -*-texinfo-*- -@c $Id: tinc.texi,v 1.8.4.40 2003/07/30 09:22:29 guus Exp $ +@c $Id: tinc.texi,v 1.8.4.41 2003/08/02 21:55:12 guus Exp $ @c %**start of header @setfilename tinc.info @settitle tinc Manual @@ -18,7 +18,7 @@ Copyright @copyright{} 1998-2003 Ivo Timmermans , Guus Sliepen and Wessel Dankers . -$Id: tinc.texi,v 1.8.4.40 2003/07/30 09:22:29 guus Exp $ +$Id: tinc.texi,v 1.8.4.41 2003/08/02 21:55:12 guus Exp $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -43,7 +43,7 @@ Copyright @copyright{} 1998-2003 Ivo Timmermans , Guus Sliepen and Wessel Dankers . -$Id: tinc.texi,v 1.8.4.40 2003/07/30 09:22:29 guus Exp $ +$Id: tinc.texi,v 1.8.4.41 2003/08/02 21:55:12 guus Exp $ Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -272,7 +272,7 @@ downloaded from @uref{http://cipe-win32.sourceforge.net/}. @cindex MinGW @cindex Windows -tinc on Windows, compiled using MinGW, relies on the CIPE driver for its data +tinc on Windows (native), compiled using MinGW, relies on the CIPE driver for its data acquisition from the kernel. This driver is not part of Windows but can be downloaded from @uref{http://cipe-win32.sourceforge.net/}. @@ -672,8 +672,11 @@ You will need to install the MinGW environment from @uref{http://www.mingw.org}. When tinc is compiled using MinGW it runs natively under Windows, it is not necessary to keep MinGW installed. -However, when compiled using MinGW, tinc will not be able to start -scripts or be able to receive signals. + +When running natively, tinc is not able to start scripts, +nor is tinc able to receive signals. +When detaching, tinc will install itself as a service, +which will be restarted automatically after reboots. @c ================================================================== @@ -1470,6 +1473,8 @@ logged. Everything goes via syslog. @item -k, --kill[=SIGNAL] Attempt to kill a running tincd (optionally with the specified SIGNAL instead of SIGTERM) and exit. Use it in conjunction with the -n option to make sure you kill the right tinc daemon. +Under native Windows the optional argument is ignored, +the service will always be stopped and removed. @item -n, --net=NETNAME Connect to net NETNAME. @xref{Multiple networks}. diff --git a/doc/tincd.8 b/doc/tincd.8 index ec8a147d..b85ffa9e 100644 --- a/doc/tincd.8 +++ b/doc/tincd.8 @@ -34,6 +34,8 @@ If that succeeds, it will detach from the controlling terminal and continue in the background, accepting and setting up connections to other tinc daemons that are part of the virtual private network. +Under Windows (native) tinc will install itself as a service, +which will be restarted automatically after reboots. .Sh OPTIONS .Bl -tag -width indent .It Fl c, -config Ns = Ns Ar DIR @@ -52,6 +54,8 @@ Attempt to kill a running (optionally with the specified .Ar SIGNAL instead of SIGTERM) and exit. +Under native Windows the optional argument is ignored, +the service will always be stopped and removed. .It Fl n, -net Ns = Ns Ar NETNAME Connect to net .Ar NETNAME . -- 2.39.5