From 932c9ae406526f9a95543f2baf9125a039d0632b Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 10 Nov 2013 16:32:33 +0000 Subject: [PATCH] allow nix file process path to be visible in ps aux --- bin/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/run.sh b/bin/run.sh index c871f364e..92ae8d482 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -33,4 +33,7 @@ bin/installDeps.sh $* || exit 1 #Move to the node folder and start echo "start..." -node node_modules/ep_etherpad-lite/node/server.js $* + +SCRIPTPATH=`pwd -P` +node $SCRIPTPATH/node_modules/ep_etherpad-lite/node/server.js $* +