This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygrunsrv do not automatic start service


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@server.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]