fix daemon node autorun

to close #494
This commit is contained in:
Dave Conway-Jones 2018-10-24 21:54:13 +01:00
parent a9a4ef9bf9
commit c835fe7cad
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ module.exports = function(RED) {
node.status({});
});
runit();
if (this.autorun) { runit(); }
node.on("input", inputlistener);
}

View File

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