1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

add extra infor to daemon node

This commit is contained in:
Dave Conway-Jones 2021-03-12 22:08:57 +00:00
parent 6095723308
commit 2a4e434406
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
<script type="text/html" data-help-name="daemon">
<p>Calls out to a long running system command. Sends <code>msg.payload</code> to stdin of the process.</p>
<p>Provides 3 outputs... stdout, stderr, and return code , from the running command.</p>
<p>Parameters can be space separated, space separated with quotes, or a javascript array. For example `aa bb` or `"cc dd"` or `["aa","bb cc""]`.</p>
<p>If the called program stops (i.e. a return code is produced), this node can attempt to restart the command.</p>
<p>Setting <code>msg.kill</code> to a signal name (e.g. SIGINT, SIGHUP) will stop the process - but if the
restart flag is set it will then auto restart. Sending <code>msg.start</code> will also re-start the process.</p>

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-daemon",
"version" : "0.2.0",
"version" : "0.2.1",
"description" : "A Node-RED node that runs and monitors a long running system command.",
"dependencies" : {
},