summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-09-13 23:22:21 +0200
committertomsmeding <tom.smeding@gmail.com>2016-09-13 23:22:21 +0200
commit86716699454c9e1e3440656c56997b80e76bb3c8 (patch)
tree4d5574b875287c59e6684f2910163dcf849aba59
parentb0c96b1c682fe1c9ab085be19ccf5bb16f4cef2a (diff)
Fix start.sh
-rw-r--r--.gitignore1
-rwxr-xr-x[-rw-r--r--]start.sh2
2 files changed, 2 insertions, 1 deletions
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
index 421b4ce..aab3655 100644..100755
--- 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