summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-09-13 23:18:34 +0200
committertomsmeding <tom.smeding@gmail.com>2016-09-13 23:21:38 +0200
commitb0c96b1c682fe1c9ab085be19ccf5bb16f4cef2a (patch)
tree911a79358e37ce229b76af59dd93dd28844b96ec
parent3f4f5d2ab8cb613f54372cd367746a1fbbf19314 (diff)
Add start.sh
-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