zeus
3 years ago
4 changed files with 26 additions and 7 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 dummyservice.config.js |
Loading…
Reference in new issue