summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--start.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/start.sh b/start.sh
new file mode 100644
index 0000000..421b4ce
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+nohup node webserver.js >out.log 2>&1 &
+cat $! >pid.txt
+disown