X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Copfilter: Client is part of local network, skipped Spamassassin X-Copfilter: Sender is in whitelist, skipped SpamAssassin From: Matthias Meyer To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv do not automatic start service Date: Sat, 19 Jul 2008 12:31:25 +0200 User-Agent: KMail/1.9.7 References: <200807170033 DOT 07266 DOT Matthias DOT Meyer AT gmx DOT li> <487E79A9 DOT 2040409 AT cygwin DOT com> In-Reply-To: <487E79A9.2040409@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807191231.25936.Matthias.Meyer@gmx.li> X-Copfilter-Originating-IP: 192.168.0.98 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Am Donnerstag 17 Juli 2008 schrieb Larry Hall (Cygwin): > Matthias Meyer wrote: > > Hello, > > > > I've installed (cygrunsrv -I) a ssh tunnel with: > > /usr/bin/autossh -M 0 -o ServerAliveInterval=20 -o > > ServerAliveCountMax=3 -N -C -i /etc/.ssh/id_rsa -L 389:localhost:389 > > user AT server DOT at > > > > Unfortunatly this tunnel will not startet at boot time. > > If I start the service with cygrunsrv -S it will run. > > > > Any hint? > > You should get this by default. Check your service under > "Administrative Tools" then "Services" to see if it is set to > "Auto". If not, you can try to force it with "--type auto". > > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 216 Dalton Rd. (508) 893-9889 - FAX > Holliston, MA 01746 It is set as --type auto. I found in the logfile of the service (/var/log/forward389.log) a message that the hostname (server.at) can not be resolved. Maybee the network connection has not be finished at the time my service will be startet. It seems that windows do not restart the service after this failure. Is it possible to start my service after network connection is 'up and running' or to restart my service after a failure. Thanks Matthias -- Don't Panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/