summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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