From 07d7a779fa9f2cf8872195c4b06ba8679d294399 Mon Sep 17 00:00:00 2001 From: cubedro Date: Sat, 4 Apr 2015 02:17:18 +0300 Subject: [PATCH 1/2] fixed paths --- processes.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/processes.json b/processes.json index be40f7c..01b1044 100644 --- a/processes.json +++ b/processes.json @@ -1,12 +1,12 @@ [ { "name" : "eth", - "cwd" : "~/bin/www/", + "cwd" : "/home/ubuntu/bin/www/", "script" : "bin/eth.sh", "log_date_format" : "YYYY-MM-DD HH:mm Z", - "log_file" : "~/logs/eth-log.log", - "out_file" : "~/logs/eth-out.log", - "error_file" : "~/logs/eth-err.log", + "log_file" : "/home/ubuntu/logs/eth-log.log", + "out_file" : "/home/ubuntu/logs/eth-out.log", + "error_file" : "/home/ubuntu/logs/eth-err.log", "merge_logs" : false, "watch" : false, "exec_interpreter" : "bash", @@ -14,12 +14,12 @@ }, { "name" : "node-app", - "cwd" : "~/bin/www/", + "cwd" : "/home/ubuntu/bin/www/", "script" : "app.js", "log_date_format" : "YYYY-MM-DD HH:mm Z", - "log_file" : "~/logs/node-app-log.log", - "out_file" : "~/logs/node-app-out.log", - "error_file" : "~/logs/node-app-err.log", + "log_file" : "/home/ubuntu/logs/node-app-log.log", + "out_file" : "/home/ubuntu/logs/node-app-out.log", + "error_file" : "/home/ubuntu/logs/node-app-err.log", "merge_logs" : false, "watch" : false, "exec_interpreter" : "node", From 763af4f3fc1315dc8eb3eca79a291e04ffcc6644 Mon Sep 17 00:00:00 2001 From: cubedro Date: Sat, 4 Apr 2015 02:17:38 +0300 Subject: [PATCH 2/2] increased delay --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6ff046b..980701d 100644 --- a/app.js +++ b/app.js @@ -1,7 +1,7 @@ var nodeModel = require('./lib/node'); var sleep = require('sleep'); -sleep.sleep(5); +sleep.sleep(15); var node = new nodeModel();