cygrunsrv does not start cygsshd at boot
Andrew J. Schorr
aschorr@telemetry-investments.com
Thu Jan 23 15:54:00 GMT 2020
On Wed, Jan 22, 2020 at 03:08:12PM -0700, Brian Inglis wrote:
> I've used dnscache for network service dependencies (and cygserver and syslog-ng
> for other Cygwin services) with delayed start and preshutdown (cygrunsrv -O,
> --preshutdown).
> Where previous usage was cygrunsrv -t, --type manual is now called demand
> service startup type.
>
> You can set service startup type using:
>
> $ sc config cygsshd start= boot|system|auto|demand|disabled|delayed-auto
> # option flag requires = and the value must be a separate argument
...
> $ sc query cygsshd
...
> $ regtool -pv list
> /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/cygsshd/
> ...
> $ regtool -pv list
> /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/cygsshd/Parameters/
> ...
> As the reg entries show, you can also do this by adding or setting registry
> entries using Cygwin regtool, Windows reg, or regedit commands.
Thanks. I was not familiar with the sc and regtool commands. For now,
using automatic (delayed start) seems to be adequate for solving my problem.
Regards,
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list