----- Original Message ----- > From: Achim Gratz > To: cygwin > Cc: > Date: 2018/3/16, Fri 03:06 > Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run > >T atsuro MATSUOKA writes: >> At execute Cygwin setup, kiling all cygwin process is highly recommended >> becase setpup execute autorebase. > > Well, it's mandatory actually. > >> kill-9-1_32_64.bat >> @echo off >> C:\cygwin\bin\cygstart --action=runas /bin/kill -9 -1 >> C:\cygwin64\bin\cygstart --action=runas /bin/kill -9 -1 > > Myself, I use 'pkill .' (from the procps package), but if you run any > daemons that keep state you better properly stop their services instead > of killing them (NET STOP and NET START from CMD, no need to fire up > Cygwin for this). AT least you should send them A HUP ro TERM first, > then wait a few seconds before sending KILL. > > > Regards, > Achim. Thank you for your advise. According to the page, http://cygwin.wikia.com/wiki/Rebaseall $ cygrunsrv -E <servicename> The above seem to be propper way to stop sevice process. If one kill all sevise, filter script should be described. However, I only execute only two services, I use "cygrunsrv -E <servicename>" twice before kill -9 -1 at the moment Tatsuro
-- 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