make daemon node kill/term/int selectable

This commit is contained in:
Dave Conway-Jones
2018-05-09 09:42:51 +01:00
parent 31cee79545
commit 5b69ab66aa
3 changed files with 26 additions and 5 deletions

View File

@@ -28,6 +28,14 @@
<option value="number">try to convert reply to a number</option>
</select>
</div>
<div class="form-row">
<label for="node-input-closer"> on close</label>
<select id="node-input-closer" style='width:70%'>
<option value="SIGKILL">kill process immediately</option>
<option value="SIGTERM">try to terminate process</option>
<option value="SIGINT">try to interrupt process</option>
</select>
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
@@ -51,12 +59,13 @@
category: 'advanced-function',
color:"darksalmon",
defaults: {
name: {value:""},
command: {value:"",required:true},
args: {value:""},
cr: {value:false},
redo: {value:true},
op: {value:"string"},
name: {value:""}
closer: {value:"SIGKILL"}
},
inputs:1,
outputs:3,