Browse Source

Clarify that this is for a single argument.

issue #24 highlights the confusion
Kohsuke Kawaguchi 11 years ago
parent
commit
b08d85ed80
1 changed files with 3 additions and 0 deletions
  1. 3 0
      README.markdown

+ 3 - 0
README.markdown

@@ -180,11 +180,14 @@ Winsw will then wait for the two processes to exit on its own, before reporting
 When you use the `<stopargument>`, you must use `<startargument>` instead of `<argument>`. See the complete example below:
 
     <executable>catalina.sh</executable>
+    <startargument>jpda</startargument>
     <startargument>run</startargument>
     
     <stopexecutable>catalina.sh</stopexecutable>
     <stopargument>stop</stopargument>
 
+Note that the name of the element is `startargument` and not `startarguments`. As such, to specify multiple arguments, you'll specify multiple elements.
+
 ### stoptimeout
 When the service is requested to stop, winsw first attempts to <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms683155(v=vs.85).aspx">send Ctrl+C signal to the process</a>, then wait for up to 15 seconds for the process to exit by itself gracefully. A process failing to do that (or if the process does not have a console), then winsw resorts to calling <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms686714(v=vs.85).aspx">TerminateProcess</a> API to kill the service instantly.