mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
pm2 delete handle case of error as optional
This commit is contained in:
parent
c9df716eb3
commit
8ab3976542
@ -184,7 +184,7 @@ yarn install
|
|||||||
yarn build
|
yarn build
|
||||||
# TODO maybe handle this differently?
|
# TODO maybe handle this differently?
|
||||||
export NODE_ENV=production
|
export NODE_ENV=production
|
||||||
pm2 delete gradido-federation
|
pm2 delete gradido-federation || :
|
||||||
# set FEDERATION_PORT from ARG_API
|
# set FEDERATION_PORT from ARG_API
|
||||||
port=${ARG_API//_/}
|
port=${ARG_API//_/}
|
||||||
FEDERATION_PORT=$(($FEDERATION_PORT + $port))
|
FEDERATION_PORT=$(($FEDERATION_PORT + $port))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user