From 86716699454c9e1e3440656c56997b80e76bb3c8 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 13 Sep 2016 23:22:21 +0200 Subject: Fix start.sh --- .gitignore | 1 + start.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 start.sh diff --git a/.gitignore b/.gitignore index abc6683..87b62ea 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ globalAccounts.json node_modules/ persist/ out.log +pid.txt diff --git a/start.sh b/start.sh old mode 100644 new mode 100755 index 421b4ce..aab3655 --- a/start.sh +++ b/start.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash nohup node webserver.js >out.log 2>&1 & -cat $! >pid.txt +echo $! >pid.txt disown -- cgit v1.2.3-70-g09d2