We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924e6f5 commit 0127679Copy full SHA for 0127679
bin/deploy-with-migrations.sh
@@ -70,7 +70,7 @@ fi
70
71
# Restart the service after all operations are complete
72
echo -e "${YELLOW}Restarting service...${NC}"
73
-ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "sudo systemctl restart coldfollow-web.service"
+ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "sudo systemctl restart ${SERVICE_NAME}"
74
75
echo -e "${GREEN}Service restarted successfully!${NC}"
76
echo -e "${GREEN}Deployment with migrations completed successfully!${NC}"
0 commit comments