Rename PM2 application to ssessesse
This commit is contained in:
+3
-3
@@ -41,7 +41,7 @@ JSON의 `PORT`는 숫자, `STUN_URLS`·`TURN_URLS`는 문자열 배열이다. UR
|
|||||||
```bash
|
```bash
|
||||||
curl --fail http://127.0.0.1:2100/health
|
curl --fail http://127.0.0.1:2100/health
|
||||||
curl --fail http://127.0.0.1:2100/ready
|
curl --fail http://127.0.0.1:2100/ready
|
||||||
pm2 logs dragon-ball --lines 50
|
pm2 logs ssessesse --lines 50
|
||||||
```
|
```
|
||||||
|
|
||||||
`/health`는 프로세스 응답, `/ready`는 DB 연결을 확인한다.
|
`/health`는 프로세스 응답, `/ready`는 DB 연결을 확인한다.
|
||||||
@@ -68,7 +68,7 @@ sudo systemctl reload nginx
|
|||||||
단일 프로세스이므로 배포 중 접속이 중단되며 진행 중 랭킹 경기는 복원되지 않는다. 운영 폴더를 실행 중에 빌드하지 않도록 중지 후 갱신한다.
|
단일 프로세스이므로 배포 중 접속이 중단되며 진행 중 랭킹 경기는 복원되지 않는다. 운영 폴더를 실행 중에 빌드하지 않도록 중지 후 갱신한다.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pm2 stop dragon-ball
|
pm2 stop ssessesse
|
||||||
git pull --ff-only
|
git pull --ff-only
|
||||||
npm ci
|
npm ci
|
||||||
npm run typecheck
|
npm run typecheck
|
||||||
@@ -84,7 +84,7 @@ pm2 save
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
pm2 status
|
pm2 status
|
||||||
pm2 logs dragon-ball --lines 100
|
pm2 logs ssessesse --lines 100
|
||||||
pm2 install pm2-logrotate
|
pm2 install pm2-logrotate
|
||||||
pm2 set pm2-logrotate:max_size 10M
|
pm2 set pm2-logrotate:max_size 10M
|
||||||
pm2 set pm2-logrotate:retain 7
|
pm2 set pm2-logrotate:retain 7
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
apps: [{
|
apps: [{
|
||||||
name: 'dragon-ball',
|
name: 'ssessesse',
|
||||||
cwd: __dirname,
|
cwd: __dirname,
|
||||||
script: 'dist/server/src/server/index.js',
|
script: 'dist/server/src/server/index.js',
|
||||||
exec_mode: 'fork',
|
exec_mode: 'fork',
|
||||||
|
|||||||
Reference in New Issue
Block a user