mirror of
https://github.com/mtan93/homebridge.git
synced 2026-06-10 06:11:24 +01:00
add Scripts to Rule Them All
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
forever=`which forever`
|
||||
|
||||
test -z "$NODE_ENV" &&
|
||||
export NODE_ENV='development'
|
||||
|
||||
if [ "$NODE_ENV" = "development" ]; then
|
||||
$forever -f startup/forever/development.json
|
||||
else
|
||||
$forever start startup/forever/production.json
|
||||
fi
|
||||
Reference in New Issue
Block a user