Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 5b01bfb

Browse files
committedJul 8, 2015
use default env.sh file for env variables when starting
1 parent 13b4b79 commit 5b01bfb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎start.sh

100644100755
+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
33

4-
# nohup node ~/tc-api/node_modules/.bin/actionHero start 2>&1 &
4+
if [ -a deploy/env.sh ]; then
5+
. deploy/env.sh
6+
fi
7+
58
forever start -d -v -a -l "${DIR}/log/forever.log" "${DIR}/node_modules/actionhero/bin/actionhero" start
69
#forever start -d -a -l "${DIR}/log/forever.log" "${DIR}/node_modules/actionhero/bin/actionhero" startCluster --workers=10

‎stop.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)
This repository has been archived.