diff --git a/utility/daemon/daemon.js b/utility/daemon/daemon.js index e3a7111f..ee2d045a 100644 --- a/utility/daemon/daemon.js +++ b/utility/daemon/daemon.js @@ -93,7 +93,6 @@ module.exports = function(RED) { if (node.redo === true) { var loop = setInterval( function() { if (!node.running) { - node.removeListener('input', inputlistener); node.warn("Restarting : " + node.cmd); runit(); } diff --git a/utility/daemon/package.json b/utility/daemon/package.json index 4cdc9392..018f0db9 100644 --- a/utility/daemon/package.json +++ b/utility/daemon/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-daemon", - "version" : "0.0.16", + "version" : "0.0.17", "description" : "A Node-RED node that runs and monitors a long running system command.", "dependencies" : { },