zeus
3 years ago
4 changed files with 26 additions and 3 deletions
@ -0,0 +1,15 @@ |
|||
#!/bin/sh |
|||
|
|||
BASEDIR=$(dirname $0) |
|||
cpwd=$PWD |
|||
|
|||
echo $BASEDIR |
|||
|
|||
cd $BASEDIR |
|||
|
|||
npm i |
|||
npm cache clean --force |
|||
|
|||
mkdir -p /home/node/run |
|||
mkdir -p /home/node/logs |
|||
|
@ -0,0 +1,8 @@ |
|||
#!/bin/sh |
|||
|
|||
BASEDIR=$(dirname $0) |
|||
|
|||
cd $BASEDIR |
|||
|
|||
|
|||
pm2-runtime readmongo.config.js |
Loading…
Reference in new issue