From 44cbd03afdeefdc65aeb7f31e4506f37c555294f Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Sun, 31 Mar 2013 06:58:12 -0700 Subject: [PATCH] documenting the new addition --- README.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 8ad57dd..0da5795 100644 --- a/README.markdown +++ b/README.markdown @@ -149,7 +149,7 @@ This element specifies the arguments to be passed to the executable. Winsw will For backward compatibility, `` element can be used instead to specify the whole command line in a single element. -## stopargument/stopexecutable +### stopargument/stopexecutable When the service is requested to stop, winsw simply calls TerminateProcess API to kill the service instantly. However, if `` elements are present, winsw will instead launch another process of `` (or `` if that's specified) with the `` arguments, and expects that to initiate the graceful shutdown of the service process. Winsw will then wait for the two processes to exit on its own, before reporting back to Windows that the service has terminated. @@ -187,3 +187,5 @@ This is another useful building block for developing a self-updating service. ### log See the "Logging" section above for more details. +### workingdirectory +This optional element sets the current directory of the process launched by winsw.