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: setup.exe --quiet-mode


Dave Korn writes:
>   That seems like a good start, but it's perhaps just a little bit crude in
> the way it handles services; if you kill them stone dead like that, the SCM
> will try and restart any that are set for auto-restart-on-fail.  It would
> probably be a minor improvement if you add an extra bit of bash to shut them
> down gracefully by invoking cygrunsrv on them, something a bit like ...
> 
> c:\cygwin\bin\bash.exe --login -c "cygrunsrv -L | xargs -n 1 cygrunsrv -E"
> 
> ... and only then carry on to brute-force kill the leftovers.
> 
>     cheers,
>       DaveK

Yeah, I did consider that and try stopping services first. I just left all that 
out of my post for brevity...  at least we're on the same wavelength. Thanks 
for the input.




--
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]