From e058549bbbac6ae66e361b5b38cf19b1cff00b6e Mon Sep 17 00:00:00 2001 From: Pavel Dovhomilja Date: Sat, 16 Dec 2023 10:30:39 +0100 Subject: [PATCH] Updated init.sh - added "pm2 save" to save config --- init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index b21e964..4d0ac0a 100644 --- a/init.sh +++ b/init.sh @@ -67,4 +67,5 @@ echo "Starting the server..." echo " Instance: https://$instance.nextcrm.online" echo " Port: $port" echo "------------------------------------------------------------------------------------------" -pm2 start npm --name "nextcrm-$instance" -- start -- --port $port \ No newline at end of file +pm2 start npm --name "nextcrm-$instance" -- start -- --port $port +pm2 save \ No newline at end of file