-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from ReflectionsProjections/dev/alex/env-hotfix
crlf fix
- Loading branch information
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
yarn build | ||
#!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
yarn build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
#!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
sudo yarn | ||
#!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
sudo yarn | ||
|
||
sudo pm2 describe appname 2>&1 /dev/null | ||
RUNNING=$? | ||
|
||
|
||
if [ "${RUNNING}" -eq 0 ]; then | ||
sudo pm2 start build/app.js --name RP_API -i 2 --wait-ready --listen-timeout 10000 | ||
fi; | ||
|
||
|
||
sudo pm2 describe appname 2>&1 /dev/null | ||
RUNNING=$? | ||
|
||
|
||
if [ "${RUNNING}" -eq 0 ]; then | ||
sudo pm2 start build/app.js --name RP_API -i 2 --wait-ready --listen-timeout 10000 | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
sudo pm2 reload RP_API | ||
#!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
sudo pm2 reload RP_API |