From b449e9104766093440e7bc2a484cf6090b72fee2 Mon Sep 17 00:00:00 2001 From: rob Date: Sun, 21 Apr 2024 19:25:07 -0400 Subject: [PATCH] deploy script updates --- deploy | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/deploy b/deploy index b13a719..aa22628 100755 --- a/deploy +++ b/deploy @@ -1,4 +1,16 @@ #!/bin/bash git pull origin develop pnpm i --prod=false -pnpm build \ No newline at end of file +pnpm build + +echo "Stopping production services for DTP Chat" +sudo supervisorctl stop chat-web:* +sudo supervisorctl stop chat-links:* +sudo supervisorctl stop chat-processor:* +sudo supervisorctl stop host-services:* + +echo "Starting production services for DTP Chat" +sudo supervisorctl start host-services:* +sudo supervisorctl start chat-processor:* +sudo supervisorctl start chat-links:* +sudo supervisorctl start chat-web:* \ No newline at end of file