-
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.
- Loading branch information
1 parent
db3c351
commit 37898fe
Showing
7 changed files
with
4,496 additions
and
4,405 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,3 @@ | ||
#!/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,11 @@ | ||
#!/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; | ||
#!/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; |
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 @@ | ||
udo pm2 reload RP_API!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
sudo pm2 reload RP_API | ||
udo pm2 reload RP_API!/bin/bash | ||
cd /home/ubuntu/rp-api | ||
sudo pm2 reload RP_API |
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
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
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
Oops, something went wrong.