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