From 3853427831d293dd0d1b3c70c9edf25e8a488d8f Mon Sep 17 00:00:00 2001 From: Guru Date: Sun, 23 Sep 2018 16:16:08 +0530 Subject: [PATCH] disable forever restart --- lib/forever/cli.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/forever/cli.js b/lib/forever/cli.js index e6a284aa..3d0cff31 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -401,6 +401,8 @@ app.cmd('restartall', cli.restartAll = function () { // Restarts the forever process specified by `file`. // app.cmd(/restart (.+)/, cli.restart = function (file) { + forever.log.error("forever restart is disabled. user restart.sh"); + return; var runner = forever.restart(file, true); runner.on('restart', function (processes) { if (processes) {