Browse files

documenting the new addition

  • Loading branch information...
1 parent 3989148 commit 44cbd03afdeefdc65aeb7f31e4506f37c555294f @kohsuke committed Mar 31, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.markdown
@@ -149,7 +149,7 @@ This element specifies the arguments to be passed to the executable. Winsw will
For backward compatibility, `<arguments>` 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 <a href="">TerminateProcess</a> API to kill the service instantly. However, if `<stopargument>` elements are present, winsw will instead launch another process of `<executable>` (or `<stopexecutable>` if that's specified) with the `<stopargument>` 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.

0 comments on commit 44cbd03

Please sign in to comment.